From 6dd7dcd83b568bde9b1f91256b6065ffa6fd3f4e Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Fri, 1 Feb 2019 13:37:30 -0500 Subject: [PATCH] Document the new parameter --- src/text-editor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/text-editor.js b/src/text-editor.js index eed26d91c..c8ff64cb3 100644 --- a/src/text-editor.js +++ b/src/text-editor.js @@ -2300,6 +2300,9 @@ class TextEditor { // Controls where the view is positioned relative to the `TextEditorMarker`. // Values can be `'head'` (the default) or `'tail'` for overlay decorations, and // `'before'` (the default) or `'after'` for block decorations. + // * `order` (optional) Only applicable to decorations of type `block`. Controls + // where the view is positioned relative to other block decorations at the + // same screen row. If unspecified, block decorations render oldest to newest. // * `avoidOverflow` (optional) Only applicable to decorations of type // `overlay`. Determines whether the decoration adjusts its horizontal or // vertical position to remain fully visible when it would otherwise