Skip to content

java.lang.IllegalArgumentException: Invalid end index. #21

@h2hjastermereel

Description

@h2hjastermereel

Thrown when you attempt to format a span beyond the length of the text property value.

richTextView.setText("This is too short"); richTextView.formatSpan(0, 11, FormatType.SUBSCRIPT);

This should be caught and handled (truncated to the length of the string). If I get time I will create a branch, fix it and submit a PR.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions