Removed the breakpoint related stuff for Ruby files in the editor.

Sat, 10 Sep 2016 17:42:01 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 10 Sep 2016 17:42:01 +0200
changeset 5158
b85f06f38f21
parent 5156
5cb4740bd2a9
child 5160
d8908660fc65

Removed the breakpoint related stuff for Ruby files in the editor.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- 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