WIP: G-code find & replace: Support for non-regular expression,

whole word and case insensitive search.
This commit is contained in:
Vojtech Bubnik 2022-01-06 16:41:54 +01:00 committed by YuSanka
parent add1e994fa
commit d4fd95bd4a
4 changed files with 88 additions and 17 deletions

View file

@ -641,6 +641,11 @@ PRINT_CONFIG_CLASS_DEFINE(
((ConfigOptionBool, gcode_comments))
((ConfigOptionEnum<GCodeFlavor>, gcode_flavor))
((ConfigOptionBool, gcode_label_objects))
// Triples of strings: "search pattern", "replace with pattern", "attribs"
// where "attribs" are one of:
// r - regular expression
// i - case insensitive
// w - whole word
((ConfigOptionStrings, gcode_substitutions))
((ConfigOptionString, layer_gcode))
((ConfigOptionFloat, max_print_speed))