Skip to content

Add a public constructor to StringCursor#2319

Merged
xStrom merged 3 commits intolinebender:masterfrom
benoitryder:master
Jan 11, 2023
Merged

Add a public constructor to StringCursor#2319
xStrom merged 3 commits intolinebender:masterfrom
benoitryder:master

Conversation

@benoitryder
Copy link
Contributor

StringCursor fields being private is the only thing preventing a user to define its own EditableText, unless it directly wraps an existing one.

As an exemple, with this patch it is possible to wrap a RichText, implement few traits, and use it in a TextBox.

StringCursor fields being private is the only thing preventing a user to
define its own EditableText, unless it directly wraps an existing one.
Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable, just need a slight change to the changelog.

@xStrom xStrom added the S-waiting-on-author waits for changes from the submitter label Jan 10, 2023
Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@xStrom xStrom merged commit b138b01 into linebender:master Jan 11, 2023
@xStrom xStrom removed the S-waiting-on-author waits for changes from the submitter label Jan 11, 2023
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.

2 participants