We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56c4a75 commit 09c2ffcCopy full SHA for 09c2ffc
1 file changed
lib/python/qtvcp/widgets/geditor.py
@@ -272,7 +272,7 @@ def previous(self):
272
def gcodeLexerCall(self):
273
self.gcodeLexer()
274
def gcodeLexer(self):
275
- self.editor.set_gcode_lexer()
+ self.editor.set_lexer("g-code")
276
277
def nextCall(self):
278
self.next()
@@ -303,7 +303,7 @@ def openReturn(self,f):
303
def pythonLexerCall(self):
304
self.pythonLexer()
305
def pythonLexer(self):
306
- self.editor.set_python_lexer()
+ self.editor.set_lexer("python")
307
308
def redoCall(self):
309
self.redo()
0 commit comments