QScintilla/MiniEditor.py

changeset 1198
214fb8967707
parent 1197
59fa9eae9123
child 1449
36138359d3a3
equal deleted inserted replaced
1197:59fa9eae9123 1198:214fb8967707
2147 if "python3" in line0: 2147 if "python3" in line0:
2148 bindName = "dummy.py" 2148 bindName = "dummy.py"
2149 self.filetype = "Python3" 2149 self.filetype = "Python3"
2150 elif "python2" in line0: 2150 elif "python2" in line0:
2151 bindName = "dummy.py" 2151 bindName = "dummy.py"
2152 self.filetype = "Python" 2152 self.filetype = "Python2"
2153 elif "python" in line0: 2153 elif "python" in line0:
2154 bindName = "dummy.py" 2154 bindName = "dummy.py"
2155 self.filetype = "Python" 2155 self.filetype = "Python2"
2156 elif ("/bash" in line0 or "/sh" in line0): 2156 elif ("/bash" in line0 or "/sh" in line0):
2157 bindName = "dummy.sh" 2157 bindName = "dummy.sh"
2158 elif "ruby" in line0: 2158 elif "ruby" in line0:
2159 bindName = "dummy.rb" 2159 bindName = "dummy.rb"
2160 self.filetype = "Ruby" 2160 self.filetype = "Ruby"

eric ide

mercurial