Skip to content

Conversation

austincondiff
Copy link
Collaborator

@austincondiff austincondiff commented Mar 13, 2023

Description

This PR adds isEditable to pass through to STTextView. Setting this to false makes the text view read-only.

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

@austincondiff
Copy link
Collaborator Author

Currently, whenever isEditable is set to false, the text view renders with no text content. There may be something wrong with my implementation but if not it may be an issue with STTextView. Currently investigating this further. If anyone has any insight into why this might be happening please let me know.

@austincondiff austincondiff marked this pull request as draft March 13, 2023 05:05
@austincondiff
Copy link
Collaborator Author

austincondiff commented Mar 15, 2023

Sorry, that last commit message is incorrect, it should read "if isEditable is false."

@austincondiff austincondiff marked this pull request as ready for review March 15, 2023 19:27
@thecoolwinter thecoolwinter merged commit c611a62 into CodeEditApp:main Mar 15, 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