Skip to content

Commit

Permalink
Merge pull request #1765 from enthought/maint/selectable-text
Browse files Browse the repository at this point in the history
Allow read-only TextEditor text to be selected by users by default
  • Loading branch information
Corwinpro authored Oct 14, 2021
2 parents 4799212 + aff8dac commit 87dceb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traitsui/editors/text_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class TextEditor(EditorFactory):
view = AView

#: In a read-only text editor, allow selection and copying of the text.
readonly_allow_selection = Bool(False)
readonly_allow_selection = Bool(True)

#: Grayed-out placeholder text to be displayed when the editor is empty.
placeholder = Str()
Expand Down

0 comments on commit 87dceb2

Please sign in to comment.