Skip to content

Commit

Permalink
Allow read-only TextEditor text to be selected by users by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Kungurtsev committed Oct 13, 2021
1 parent 4799212 commit aff8dac
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 aff8dac

Please sign in to comment.