Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address some issues with positioning system in foreign documents #206

Merged
merged 3 commits into from
Mar 11, 2020

Conversation

krassowski
Copy link
Member

@krassowski krassowski commented Mar 11, 2020

References

#193

Code changes

  • virtual_shift to IExtractedCode
  • adds (optional) extract_arguments to RegExpForeignCodeExtractor
  • R cell arguments are parsed with extract_arguments which allows to account for the offset (virtual_shift)
  • some code was refactored out from extract_foreign_code into choose_foreign_document with benefit to readability

User-facing changes

TBD: I will record a gif

Backwards-incompatible changes

Addition of virtual_shift the IExtractedCode might be breaking, but I am not aware of anyone else using this interface.

Chores

  • linted
  • tested
  • documented
  • changelog entry

@krassowski krassowski changed the title Address some issues with foreign documents Address some issues with positioning system in foreign documents Mar 11, 2020
@krassowski krassowski closed this Mar 11, 2020
@krassowski krassowski reopened this Mar 11, 2020
@krassowski
Copy link
Member Author

It seems that we are failing on Linux and Mac (running over 60 minutes), but Windows works ok...

@krassowski
Copy link
Member Author

#207 confirms that the fails are not due to changes introduced in this PR. I will proceed as is.

@krassowski krassowski merged commit 0309429 into master Mar 11, 2020
@krassowski
Copy link
Member Author

I committed a forgotten piece to master in 84b4db2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant