QScintilla/Editor.py

changeset 5158
b85f06f38f21
parent 5051
3586ebd9fac8
child 5349
bccda3b5920a
diff -r 5cb4740bd2a9 -r b85f06f38f21 QScintilla/Editor.py
--- a/QScintilla/Editor.py	Sat Sep 10 16:15:54 2016 +0200
+++ b/QScintilla/Editor.py	Sat Sep 10 17:42:01 2016 +0200
@@ -2104,8 +2104,7 @@
         @param line line number of the breakpoint (integer)
         @param temporary flag indicating a temporary breakpoint (boolean)
         """
-        if self.fileName and \
-           (self.isPyFile() or self.isRubyFile()):
+        if self.fileName and self.isPyFile():
             self.breakpointModel.addBreakPoint(
                 self.fileName, line, ('', temporary, True, 0))
             self.breakpointToggled.emit(self)
@@ -5108,7 +5107,7 @@
         Private slot handling the aboutToShow signal of the margins context
         menu.
         """
-        if self.fileName and (self.isPyFile() or self.isRubyFile()):
+        if self.fileName and self.isPyFile():
             self.marginMenuActs["Breakpoint"].setEnabled(True)
             self.marginMenuActs["TempBreakpoint"].setEnabled(True)
             if self.markersAtLine(self.line) & self.breakpointMask:

eric ide

mercurial