QScintilla/MiniEditor.py

branch
5_1_x
changeset 1201
62682782b620
parent 1200
9de155b28f40
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
1200:9de155b28f40 1201:62682782b620
2132 if "python3" in line0: 2132 if "python3" in line0:
2133 bindName = "dummy.py" 2133 bindName = "dummy.py"
2134 self.filetype = "Python3" 2134 self.filetype = "Python3"
2135 elif "python2" in line0: 2135 elif "python2" in line0:
2136 bindName = "dummy.py" 2136 bindName = "dummy.py"
2137 self.filetype = "Python" 2137 self.filetype = "Python2"
2138 elif "python" in line0: 2138 elif "python" in line0:
2139 bindName = "dummy.py" 2139 bindName = "dummy.py"
2140 self.filetype = "Python" 2140 self.filetype = "Python2"
2141 elif ("/bash" in line0 or "/sh" in line0): 2141 elif ("/bash" in line0 or "/sh" in line0):
2142 bindName = "dummy.sh" 2142 bindName = "dummy.sh"
2143 elif "ruby" in line0: 2143 elif "ruby" in line0:
2144 bindName = "dummy.rb" 2144 bindName = "dummy.rb"
2145 self.filetype = "Ruby" 2145 self.filetype = "Ruby"

eric ide

mercurial