Skip to content

Commit 9a4197f

Browse files
authored
Correct note on processing change and cursor movement together (Close #189)
1 parent 62b7a6f commit 9a4197f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/doc/integrating.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ something that you can try:
2828

2929
## When to process text?
3030

31-
Process the text after a change OR a cursor movement. Since a change always
32-
results in a cursor movement, make sure to only process after the change.
31+
Process the text after a change OR a cursor movement. If a change AND a cursor movement both occur, make sure they are handled together.
3332
You can see an example of this being handled [here](https://github.com/shaunlebron/parinfer-codemirror/blob/37b36/parinfer-codemirror.js#L331-L344)
3433
to prevent double-processing.
3534

0 commit comments

Comments
 (0)