Ejemplo n.º 1
0
    def doShowMarked(self):

        self.clear()
        c = self.c
        pl = leoNodes.poslist()
        for p in c.all_positions():
            if p.isMarked():
                pl.append(p.copy())
        self.addHeadlineMatches(pl)
Ejemplo n.º 2
0
    def doShowMarked(self):

        self.clear()
        c = self.c
        pl = leoNodes.poslist()
        for p in c.all_positions():
            if p.isMarked():
                pl.append(p.copy())
        self.addHeadlineMatches(pl)
Ejemplo n.º 3
0
    def doNodeHistory(self):

        nh = leoNodes.poslist(po[0] for po in self.c.nodeHistory.beadList)
        nh.reverse()
        self.clear()
        self.addHeadlineMatches(nh)
 def getSelectedPositions(self):
     items = self.getSelectedItems()
     pl = leoNodes.poslist(self.item2position(it) for it in items)
     return pl
Ejemplo n.º 5
0
 def getSelectedPositions(self):
     items = self.getSelectedItems()
     pl = leoNodes.poslist(self.item2position(it) for it in items)
     return pl
Ejemplo n.º 6
0
    def doNodeHistory(self):

        nh = leoNodes.poslist(po[0] for po in self.c.nodeHistory.beadList)
        nh.reverse()
        self.clear()
        self.addHeadlineMatches(nh)