Skip to content

Introduce Override Layout Behavior API #84

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

thecoolwinter
Copy link
Contributor

@thecoolwinter thecoolwinter commented Apr 10, 2025

Description

Note

This is a draft temporarily, until we know the API is flexible enough to implement something like CodeEditApp/CodeEditSourceEditor#33.

Introduces an API to override how text is laid out by the layout manager. An API consumer can implement an object conforming to the TextLayoutManagerRenderDelegate protocol to provide custom behavior.

Introduces tests for new APIs.

Related Issues

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

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