You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but right now, the parinfer api requires us to specify changes differently depending on the mode:
indent mode - line numbers to replace, new lines to insert
paren mode - specify a cursor-dx position indicating how far the cursor has moved
this requires a lot of manual work on the api user, so if we simply accept a change object described by the above link (which I think most editors expose on change events), we can offload this work to the modes themselves.
This should be done before #24 (creating the standalone parinfer-lib)
The text was updated successfully, but these errors were encountered:
We can describe all text changes with this model: https://github.com/shaunlebron/parinfer/blob/master/test-cases/text-change.md
but right now, the parinfer api requires us to specify changes differently depending on the mode:
this requires a lot of manual work on the api user, so if we simply accept a change object described by the above link (which I think most editors expose on change events), we can offload this work to the modes themselves.
This should be done before #24 (creating the standalone parinfer-lib)
The text was updated successfully, but these errors were encountered: