8000 Suppress line measurement exceptions and gather data to solve them by nathansobo · Pull Request #7778 · atom/atom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Suppress line measurement exceptions and gather data to solve them #7778

Merged
merged 3 commits into from
Jul 8, 2015

Conversation

nathansobo
Copy link
Contributor

This code recovers gracefully from situations where we try to measure off the end of a text node. Since this situation is unexpected, when it happens, we ask the user (only once) for the text of the line where it's happening. Hopefully we can use this information to get a better understanding of why this is happening.

Nathan Sobo added 3 commits July 7, 2015 19:29
Don’t assume anything about metadata. Just give assertion callers access
to the error object.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Refs #7464 #7465 #5997

This will ask the user for the content of the offending line, but only
once so as not to be annoying. Hopefully this and the other data we’re
collecting will help us solve the problem.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
nathansobo pushed a commit that referenced this pull request Jul 8, 2015
…ceptions

Suppress line measurement exceptions and gather data to solve them
@nathansobo nathansobo merged commit a094142 into master Jul 8, 2015
@nathansobo nathansobo deleted the ns-mb-suppress-line-measurement-exceptions branch July 8, 2015 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0