Skip to content

fix(indexed): apply section offsets when clamping column spans - #552

Open
user-Param wants to merge 1 commit into
mozilla:masterfrom
user-Param:fix/539-indexed-column-spans
Open

user-Param wants to merge 1 commit into
mozilla:masterfrom
user-Param:fix/539-indexed-column-spans

Conversation

@user-Param

Copy link
Copy Markdown

Fixes #539 - when clamping lastColumn against the next section's start on the same generated line, apply both line and column shifts correctly for sections with non-zero generated offsets.

@user-Param

Copy link
Copy Markdown
Author

This PR fixes a real bug. All 190 tests pass. Would appreciate a review!

@user-Param

Copy link
Copy Markdown
Author

All 190 tests pass. The fix is minimal and focused. Would appreciate a review!

@user-Param

Copy link
Copy Markdown
Author

@hbenl Could you please review this PR? All 190 tests pass and the fix addresses a real issue. Thank you!

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.

Indexed column spans ignore section line offsets when clipping at the next section

2 participants