         guard self.blockCommentDelimiters != nil || self.inlineCommentDelimiter != nil else { return false }
         
         guard
-            let targetRange = self.commentingRange(fromLineHead: UserDefaults.standard[.commentsAtLineHead]),
+            let targetRange = self.commentingRange(fromLineHead: self.commentsAtLineHead),
             !targetRange.isEmpty else { return false }
         
         let target = self.string[targetRange]

 
 ------------------------------------------------------------------------------
 
 © 2014-2017 1024jp
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.

            let targetRange = self.commentingRange(fromLineHead: fromLineHead)
            else { return }
        
        let spacer = self.appendsCommentSpacer ? " " : ""
        var new: (String, NSRange)?
        
        // insert delimiters
