Skip to content

Indent and Unindent Text Editor Actions#2901

Merged
hecrj merged 1 commit intoiced-rs:masterfrom
Ultrasquid9:master
Apr 25, 2025
Merged

Indent and Unindent Text Editor Actions#2901
hecrj merged 1 commit intoiced-rs:masterfrom
Ultrasquid9:master

Conversation

@Ultrasquid9
Copy link
Contributor

Cosmic-Text filters out tab characters when doing edits, advising the use of their indent/unindent actions instead. This provides a way to make use of those actions.

@hecrj hecrj added this to the 0.14 milestone Apr 25, 2025
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Thanks!

@hecrj hecrj enabled auto-merge April 25, 2025 02:11
@hecrj hecrj merged commit 7f1dcec into iced-rs:master Apr 25, 2025
15 checks passed
@Atreyagaurav
Copy link
Contributor

Hi @Ultrasquid9,

Can you provide an example on how to use this new feature? The content.perform(action) doesn't show any difference. I don't see any options to add what indent means for the editor. Are we supposed to handle it separate from other Action for editor contents?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments