From 8e2777ccc00c92ec8deccd84a301d8fd71f723f2 Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Thu, 22 Aug 2013 16:33:32 -0700 Subject: [PATCH] Get class visibility correct --- src/pane-container.coffee | 1 + src/row-map.coffee | 4 ++-- src/select-list.coffee | 2 ++ src/task.coffee | 3 +++ src/theme-manager.coffee | 1 + src/token.coffee | 1 + src/window-event-handler.coffee | 1 + 7 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/pane-container.coffee b/src/pane-container.coffee index 9804d4c90..18e819c01 100644 --- a/src/pane-container.coffee +++ b/src/pane-container.coffee @@ -3,6 +3,7 @@ Pane = require 'pane' $ = require 'jquery' telepath = require 'telepath' +# Private: Manages the list of panes within a {RootView} module.exports = class PaneContainer extends View registerDeserializer(this) diff --git a/src/row-map.coffee b/src/row-map.coffee index 0df603aad..2e633472a 100644 --- a/src/row-map.coffee +++ b/src/row-map.coffee @@ -1,5 +1,5 @@ -## Internal ## - +# Private: Maintains the canonical map between screen and buffer positions. +# # Facilitates the mapping of screen rows to buffer rows and vice versa. All row # ranges dealt with by this class are end-row exclusive. For example, a fold of # rows 4 through 8 would be expressed as `mapBufferRowRange(4, 9, 1)`, which maps diff --git a/src/select-list.coffee b/src/select-list.coffee index 17be0147b..55ea9dfeb 100644 --- a/src/select-list.coffee +++ b/src/select-list.coffee @@ -3,6 +3,8 @@ $ = require 'jquery' Editor = require 'editor' fuzzyFilter = require 'fuzzy-filter' +# Public: Provides an interface for users to make a selection from a list of +# choices. module.exports = class SelectList extends View diff --git a/src/task.coffee b/src/task.coffee index 442517a7f..361027464 100644 --- a/src/task.coffee +++ b/src/task.coffee @@ -2,6 +2,9 @@ _ = require 'underscore' child_process = require 'child_process' EventEmitter = require 'event-emitter' +# Public: Run a node script in a separate process. +# +# Used by the fuzzy-finder. module.exports = class Task _.extend @prototype, EventEmitter diff --git a/src/theme-manager.coffee b/src/theme-manager.coffee index 8bd2a1e52..12a7c4485 100644 --- a/src/theme-manager.coffee +++ b/src/theme-manager.coffee @@ -6,6 +6,7 @@ _ = require 'underscore' fsUtils = require 'fs-utils' Theme = require 'theme' +# Private: Handles discovering and loading available themes. module.exports = class ThemeManager _.extend @prototype, EventEmitter diff --git a/src/token.coffee b/src/token.coffee index 3f7f3b835..66dc0c984 100644 --- a/src/token.coffee +++ b/src/token.coffee @@ -3,6 +3,7 @@ textUtils = require 'text-utils' whitespaceRegexesByTabLength = {} +# Private: Represents a single unit of text as selected by a grammar. module.exports = class Token value: null diff --git a/src/window-event-handler.coffee b/src/window-event-handler.coffee index ed9fcce1a..6c33010fe 100644 --- a/src/window-event-handler.coffee +++ b/src/window-event-handler.coffee @@ -5,6 +5,7 @@ remote = require 'remote' Subscriber = require 'subscriber' fsUtils = require 'fs-utils' +# Private: Handles low-level events related to the window. module.exports = class WindowEventHandler _.extend @prototype, Subscriber