Skip to content

Conversation

@Montel
Copy link
Contributor

@Montel Montel commented Dec 19, 2025

No description provided.

instance.invoke_select_all();
instance.invoke_cut();
assert_eq!(instance.get_text(), "XxxHello👋");
Copy link
Member

Choose a reason for hiding this comment

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

That seems wrong, doesn't it? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why ? it's enable == false
=> we can't cut no ?

Copy link
Member

Choose a reason for hiding this comment

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

This is actually questionable. Should the function to programmatically do things work when the widget is disabled? I would think it makes sense to make it work as "disabled" means the user can't interact with it, but programmatically it could still be possible

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so we have the same problem with paste() method no ?

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.

3 participants