Skip to content

Centralize codepoint helpers - #31

Open
julia-script wants to merge 1 commit into
block-layoutfrom
julia/refactor-duplicated-logic-in-string-width.zig
Open

Centralize codepoint helpers#31
julia-script wants to merge 1 commit into
block-layoutfrom
julia/refactor-duplicated-logic-in-string-width.zig

Conversation

@julia-script

Copy link
Copy Markdown
Owner

Summary

  • add Codepoint.zig with shared Unicode helpers
  • use the new helper in LineBreak and LineBreakStream
  • simplify string-width.zig to compute width using centralized helpers

Testing

  • zig build test

@changeset-bot

changeset-bot Bot commented May 24, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f30ba0d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant