From 1a09ec6b9268de4a141d2d0def8b922700f20b5e Mon Sep 17 00:00:00 2001 From: Tony Han Date: Wed, 14 Jan 2015 20:42:13 +0800 Subject: [PATCH] :memo: fix setHead & setTail docs in Marker Change range -> position --- src/marker.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/marker.coffee b/src/marker.coffee index f2589e469..98e3f0265 100644 --- a/src/marker.coffee +++ b/src/marker.coffee @@ -268,7 +268,7 @@ class Marker # Extended: Sets the buffer position of the marker's head. # - # * `screenRange` The new {Point} to use + # * `bufferPosition` The new {Point} to use # * `properties` (optional) {Object} properties to associate with the marker. setHeadBufferPosition: (bufferPosition, properties) -> @bufferMarker.setHeadPosition(bufferPosition, properties) @@ -281,7 +281,7 @@ class Marker # Extended: Sets the screen position of the marker's head. # - # * `screenRange` The new {Point} to use + # * `screenPosition` The new {Point} to use # * `properties` (optional) {Object} properties to associate with the marker. setHeadScreenPosition: (screenPosition, properties) -> screenPosition = @displayBuffer.clipScreenPosition(screenPosition, properties) @@ -295,7 +295,7 @@ class Marker # Extended: Sets the buffer position of the marker's tail. # - # * `screenRange` The new {Point} to use + # * `bufferPosition` The new {Point} to use # * `properties` (optional) {Object} properties to associate with the marker. setTailBufferPosition: (bufferPosition) -> @bufferMarker.setTailPosition(bufferPosition) @@ -308,7 +308,7 @@ class Marker # Extended: Sets the screen position of the marker's tail. # - # * `screenRange` The new {Point} to use + # * `screenPosition` The new {Point} to use # * `properties` (optional) {Object} properties to associate with the marker. setTailScreenPosition: (screenPosition, options) -> screenPosition = @displayBuffer.clipScreenPosition(screenPosition, options)