Commits

Yuya Nishihara  committed 18a1816

qscilib: eliminate C-style semicolons

  • Participants
  • Parent commits 2c92474

Comments (0)

Files changed (1)

File tortoisehg/hgqt/qscilib.py

 
     if not hasattr(QsciScintilla, 'setIndicatorForegroundColor'):
         def setIndicatorForegroundColor(self, color, indicatorNumber):
-            self.SendScintilla(self.SCI_INDICSETFORE, indicatorNumber, color);
+            self.SendScintilla(self.SCI_INDICSETFORE, indicatorNumber, color)
             self.SendScintilla(self.SCI_INDICSETALPHA, indicatorNumber,
-                               color.alpha());
+                               color.alpha())
 
     if not hasattr(QsciScintilla, 'clearIndicatorRange'):
         def clearIndicatorRange(self, lineFrom, indexFrom, lineTo, indexTo,
             start = self.positionFromLineIndex(lineFrom, indexFrom)
             finish = self.positionFromLineIndex(lineTo, indexTo)
 
-            self.SendScintilla(self.SCI_SETINDICATORCURRENT, indicatorNumber);
+            self.SendScintilla(self.SCI_SETINDICATORCURRENT, indicatorNumber)
             self.SendScintilla(self.SCI_INDICATORCLEARRANGE,
-                               start, finish - start);
+                               start, finish - start)
 
     if not hasattr(QsciScintilla, 'fillIndicatorRange'):
         def fillIndicatorRange(self, lineFrom, indexFrom, lineTo, indexTo,
             start = self.positionFromLineIndex(lineFrom, indexFrom)
             finish = self.positionFromLineIndex(lineTo, indexTo)
 
-            self.SendScintilla(self.SCI_SETINDICATORCURRENT, indicatorNumber);
+            self.SendScintilla(self.SCI_SETINDICATORCURRENT, indicatorNumber)
             self.SendScintilla(self.SCI_INDICATORFILLRANGE,
-                               start, finish - start);
+                               start, finish - start)
 
 
 class SearchToolBar(QToolBar):