Skip to content

Commit

Permalink
update docs addMarker
Browse files Browse the repository at this point in the history
  • Loading branch information
akoreman committed Jul 31, 2023
1 parent bccff5a commit 1d5d878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edit_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ class EditSession {
* Adds a new marker to the given `Range`. If `inFront` is `true`, a front marker is defined, and the `'changeFrontMarker'` event fires; otherwise, the `'changeBackMarker'` event fires.
* @param {Range} range Define the range of the marker
* @param {String} clazz Set the CSS class for the marker
* @param {Function | String} type Identify the type of the marker
* @param {Function | String} type Identify the renderer type of the marker. If string provided, corresponding built-in renderer is used. Supported string types are "fullLine", "screenLine", "text" or "line". If a Function is provided, that Function is used as renderer.
* @param {Boolean} inFront Set to `true` to establish a front marker
*
* @return {Number} The new marker id
Expand Down

0 comments on commit 1d5d878

Please sign in to comment.