'Toggle wrap mode'

@Slot(bool)
def toggle_wrap_mode(self, checked):

    if (self.tabwidget is None):
        return
    for editor in self.editors:
        editor.toggle_wrap_mode(checked)
    self.set_option('wrap', checked)
