#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Thu, 29 Mar 2018 13:44:43 +0200
changeset 6301 c34a59206e44
parent 6300 9f4ad40b3b5e
child 6302 9a1eaefba171
#DOCUMENTATION by cg class: EditTextView changed: #commentSelection:
EditTextView.st
--- a/EditTextView.st	Wed Mar 28 14:52:36 2018 +0200
+++ b/EditTextView.st	Thu Mar 29 13:44:43 2018 +0200
@@ -1786,7 +1786,7 @@
     |e commentPair opening closing|
 
     (self checkModificationsAllowed) ifFalse:[ ^ self].
-    commentStrings isNil ifTrue:[ self beepInEditor. ^ self].
+    commentStrings isEmptyOrNil ifTrue:[ self beepInEditor. ^ self].
 
     self
         undoableDo:[