#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Thu, 18 Jan 2018 16:32:58 +0100
changeset 8255 ed3cab4edb84
parent 8254 456f5eb842de
child 8256 22fb0723dcc6
#REFACTORING by cg class: DeviceWorkstation added: #beepInEditor
DeviceWorkstation.st
--- a/DeviceWorkstation.st	Wed Jan 17 15:30:14 2018 +0100
+++ b/DeviceWorkstation.st	Thu Jan 18 16:32:58 2018 +0100
@@ -7283,6 +7283,19 @@
     "Modified: / 3.12.1999 / 17:13:52 / ps"
 !
 
+beepInEditor
+    "output an audible beep or bell, if enabled"
+
+    "{ Pragma: +optSpace }"
+
+    UserPreferences current beepInEditor ifTrue:[
+        self beep
+    ]
+
+    "Modified: / 13.1.1997 / 22:56:13 / cg"
+    "Modified: / 3.12.1999 / 17:13:52 / ps"
+!
+
 buffered
     "buffer drawing - do not send it immediately to the display.
      This is the default; see comment in #unBuffered."