RefactoringRope/MatchesDialog.py

changeset 354
a967ff16629a
parent 347
b5048b5ff454
child 365
f740b50380df
equal deleted inserted replaced
353:d38295fd97c2 354:a967ff16629a
90 @param lineno line number of the match 90 @param lineno line number of the match
91 @type int 91 @type int
92 @param unsure flag indicating an unsure match 92 @param unsure flag indicating an unsure match
93 @type bool 93 @type bool
94 """ 94 """
95 if unsure: 95 conf = 50 if unsure else 100
96 conf = 50
97 else:
98 conf = 100
99 itm = QTreeWidgetItem( 96 itm = QTreeWidgetItem(
100 self.matchesList, 97 self.matchesList,
101 [self.__e5project.getRelativePath(filename), 98 [self.__e5project.getRelativePath(filename),
102 " {0:5d}".format(lineno), 99 " {0:5d}".format(lineno),
103 " {0:5d}%".format(conf)]) 100 " {0:5d}%".format(conf)])

eric ide

mercurial