Summary: | G-Code for 3D printers highlights commands incorrectly | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | gudvinr+kde |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, walter.von.entferndt |
Priority: | NOR | ||
Version: | 5.96.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/syntax-highlighting/commit/29d174f194728ad934297d0c0a0fa6f4e251332a | Version Fixed In: | 5.98 |
Attachments: | sample file |
Description
gudvinr+kde
2022-08-11 10:53:47 UTC
Created attachment 151245 [details]
sample file
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/342 Git commit 29d174f194728ad934297d0c0a0fa6f4e251332a by Christoph Cullmann, on behalf of jonathan poelen. Committed on 21/08/2022 at 16:32. Pushed by cullmann into branch 'master'. G-Code: fix number pattern, Mnnn as M-word or M-word (user), add String and... 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 ``` M +43 -0 autotests/folding/highlight.ngc.fold M +43 -0 autotests/html/highlight.ngc.dark.html M +43 -0 autotests/html/highlight.ngc.html M +43 -0 autotests/input/highlight.ngc M +43 -0 autotests/reference/highlight.ngc.ref M +126 -72 data/syntax/gcode.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/29d174f194728ad934297d0c0a0fa6f4e251332a |