'Setup margin settings
(except font, now set in editor.set_font)'

def setup_margins(self, linenumbers=True, markers=True):

    self._margin = linenumbers
    self._markers_margin = markers
    self.set_enabled((linenumbers or markers))
