#REFACTORING by cg
class: EditField
changed:
#accept (send #beepInEditor instead of #beep)
#copySelection (send #beepInEditor instead of #beep)
#setClipboardText: (send #beepInEditor instead of #beep)
beep
--- a/EditField.st Thu Jan 18 17:06:34 2018 +0100
+++ b/EditField.st Thu Jan 18 17:08:56 2018 +0100
@@ -835,7 +835,7 @@
|string|
acceptEnabled == false ifTrue:[
- self beep.
+ self beepInEditor.
^ self
].
@@ -2432,7 +2432,7 @@
"refuse to copy a password to the clipboard"
passwordCharacter notNil ifTrue:[
- self beep.
+ self beepInEditor.
^ self
].
^ super copySelection
@@ -2478,7 +2478,7 @@
"redefined to refuse to copy the password to the clipboard"
passwordCharacter notNil ifTrue:[
- self beep.
+ self beepInEditor.
^ self
].
^ super setClipboardText:aString