def drawRightEdge(self):
    'Draw makers to indicate text extending past the right edge of the\n        window.'
    (maxRow, maxCol) = (self.rows, self.cols)
    limit = min(maxRow, (len(self.textBuffer.lines) - self.scrollRow))
    colorPrefs = self.program.color
    for i in range(limit):
        color = colorPrefs.get('right_column')
        if ((len(self.textBuffer.lines[(i + self.scrollRow)]) - self.scrollCol) > maxCol):
            color = colorPrefs.get('line_overflow')
        self.rightColumn.addStr(i, 0, u' ', color)
    color = colorPrefs.get('outside_document')
    for i in range(limit, maxRow):
        self.rightColumn.addStr(i, 0, u' ', color)
Draw makers to indicate text extending past the right edge of the
window.
def drawRightEdge(self):
    'Draw makers to indicate text extending past the right edge of the\n        window.'
    (maxRow, maxCol) = (self.rows, self.cols)
    limit = min(maxRow, (len(self.textBuffer.lines) - self.scrollRow))
    colorPrefs = self.program.color
    for i in range(limit):
        color = colorPrefs.get('right_column')
        if ((len(self.textBuffer.lines[(i + self.scrollRow)]) - self.scrollCol) > maxCol):
            color = colorPrefs.get('line_overflow')
        self.rightColumn.addStr(i, 0, u' ', color)
    color = colorPrefs.get('outside_document')
    for i in range(limit, maxRow):
        self.rightColumn.addStr(i, 0, u' ', color)