From f4e43b96c211ccb0d4777e5fc18db3ed05511da0 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Sun, 2 Feb 2014 19:31:09 +0600 Subject: [PATCH] Don't add explicit 'Private:' annotations since it is the default --- src/row-map.coffee | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/row-map.coffee b/src/row-map.coffee index e51666d68..fd5dfb2ea 100644 --- a/src/row-map.coffee +++ b/src/row-map.coffee @@ -1,9 +1,8 @@ {spliceWithArray} = require 'underscore-plus' -# Private: Used by the display buffer to map screen rows to buffer rows and -# vice-versa. This mapping may not be 1:1 due to folds and soft-wraps. This -# object maintains an array of regions, which contain `bufferRows` and -# `screenRows` fields. +# Used by the display buffer to map screen rows to buffer rows and vice-versa. +# This mapping may not be 1:1 due to folds and soft-wraps. This object maintains +# an array of regions, which contain `bufferRows` and `screenRows` fields. # # Rectangular Regions: # If a region has the same number of buffer rows and screen rows, it is referred @@ -82,7 +81,6 @@ class RowMap spliceWithArray(@regions, index, count, regions) @mergeAdjacentRectangularRegions(index - 1, index + regions.length) - # Private: traverseToBufferRow: (targetBufferRow) -> bufferRows = 0 screenRows = 0 @@ -93,7 +91,6 @@ class RowMap screenRows += region.screenRows {index, screenRows, bufferRows} - # Private: traverseToScreenRow: (targetScreenRow) -> bufferRows = 0 screenRows = 0 @@ -104,7 +101,6 @@ class RowMap screenRows += region.screenRows {index, screenRows, bufferRows} - # Private: mergeAdjacentRectangularRegions: (startIndex, endIndex) -> for index in [endIndex..startIndex] if 0 < index < @regions.length