Skip to content

Commit 041ba71

Browse files
committed
gcodelexer - move IJK from Axes to Other
1 parent 1da8361 commit 041ba71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/python/qtvcp/widgets/gcode_editor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def styleText(self, start, end):
117117
1: r"(?:[N]\d+|\(.*\)|;.*)", # LineNo and Comment
118118
2: r"[G]\d{1,4}\.?\d*", # Gcode
119119
3: r"[M]\d{1,4}\.?\d*", # Mcode
120-
4: r"[XYZABCUVWIJK]{1}(?:[+-]?[\d\.]+|\#\<.*?\>|\[.*?\]|\#\d+)", # Axis
121-
5: r"[EFHDQLRPST]{1}(?:[+-]?[\d\.]+|\#\<.*?\>|\[.*?\]|\#\d+)", # Other (feed,rpm,radius,etc)
120+
4: r"[XYZABCUVW]{1}(?:[+-]?[\d\.]+|\#\<.*?\>|\[.*?\]|\#\d+)", # Axis
121+
5: r"[EFHIJKDQLRPST]{1}(?:[+-]?[\d\.]+|\#\<.*?\>|\[.*?\]|\#\d+)", # Other (feed,rpm,radius,etc)
122122
0: r"\s+|\w+|\W", # Default (fallback)
123123
}
124124

0 commit comments

Comments
 (0)