Skip to content
Snippets Groups Projects
  • Nick Draper's avatar
    2a6f1d26
    SetScriptOutputDisplay to be readonly without using setReadOnly · 2a6f1d26
    Nick Draper authored
    This is because if you set it read only then ctrl+c for copying does not work
    this approach allows ctrl+c and disables user editing through the use of the KeyPress handler
    and disabling drag and drop
    also the mouseMoveEventHandler prevents dragging out of the control affecting the text.
    
    re #5895
    2a6f1d26
    History
    SetScriptOutputDisplay to be readonly without using setReadOnly
    Nick Draper authored
    This is because if you set it read only then ctrl+c for copying does not work
    this approach allows ctrl+c and disables user editing through the use of the KeyPress handler
    and disabling drag and drop
    also the mouseMoveEventHandler prevents dragging out of the control affecting the text.
    
    re #5895
Code owners
Assign users and groups as approvers for specific file changes. Learn more.