Skip to content

G-Code: fix number pattern, Mnnn as M-word or M-word (user), add String and...

jonathan poelen requested to merge jpoelen/syntax-highlighting:gcode into master

G-Code: fix number pattern, Mnnn as M-word or M-word (user), add String and RepRapFirmware expression

Before:

G 1 3 0
^ G-word
      ^ Number

M100
^ M-word (user)

M1001
^ M-word (user)
    ^ Number

M200
^ M-word
 ^ Number

Now:

G 1 3 0
^ G-word

M100
^ M-word (user)

M1001
^ M-word

M200
^ M-word

BUG: 457754

Merge request reports

Loading