'Status bar widget for the current file end of line.'

def __init__(self, parent, statusbar):

    super(EOLStatus, self).__init__(parent, statusbar)
    self.label = QLabel(_('End-of-lines:'))
    self.eol = QLabel()
    self.label.setAlignment(Qt.AlignRight)
    self.eol.setFont(self.label_font)
    layout = self.layout()
    layout.addWidget(self.label)
    layout.addWidget(self.eol)
    layout.addSpacing(20)
