                     item.stateImages[.off] = #imageLiteral(resourceName: "Invisibles_Off")
                 }
                 item.action = #selector(DocumentViewController.toggleInvisibleChars)
-                return item
-                
-            case .wrapLines:
-                let item = StatableToolbarItem(itemIdentifier: itemIdentifier)
-                item.isBordered = true
-                item.label = "Wrap Lines".localized
-                item.toolTip = "Wrap lines".localized
-                if #available(macOS 11, *) {
-                    item.stateImages[.on] = NSImage(named: "text.unwrap")
-                    item.stateImages[.off] = NSImage(named: "text.wrap")
-                } else {
-                    item.stateImages[.on] = #imageLiteral(resourceName: "WrapLines_On")
-                    item.stateImages[.off] = #imageLiteral(resourceName: "WrapLines_Off")
-                }
-                item.action = #selector(DocumentViewController.toggleLineWrap)
                 return item
                 
             case .indentGuides:

                
                return item
                
            case .invisibles:
                let item = StatableToolbarItem(itemIdentifier: itemIdentifier)
                item.isBordered = true

            .indent,
            .comment,
            .tabStyle,
            .wrapLines,
            .invisibles,
            .indentGuides,
            .opacity,
            .spellCheck,
