This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import Range from "./range";
3232 * @param {string? } inputType the inputType of the DOM input event
3333 * @param {object? } diff an object with `removed` and `added` strings
3434 * @return {Number? } addedLen how many characters were added/removed (-) before the caret during the transformation step.
35- This is used to adjust the caret position.
35+ * This is used to adjust the caret position.
3636 */
3737
3838export default class EditorModel {
@@ -47,7 +47,8 @@ export default class EditorModel {
4747 this . _updateInProgress = false ;
4848 }
4949
50- /** Set a callback for the transformation step.
50+ /**
51+ * Set a callback for the transformation step.
5152 * While processing an update, right before calling the update callback,
5253 * a transform callback can be called, which serves to do modifications
5354 * on the model that can span multiple parts. Also see `startRange()`.
@@ -57,7 +58,8 @@ export default class EditorModel {
5758 this . _transformCallback = transformCallback ;
5859 }
5960
60- /** Set a callback for rerendering the model after it has been updated.
61+ /**
62+ * Set a callback for rerendering the model after it has been updated.
6163 * @param {ModelCallback } updateCallback
6264 */
6365 setUpdateCallback ( updateCallback ) {
You can’t perform that action at this time.
0 commit comments