mpv.net
mpv.net copied to clipboard
fix: set IsShortMenuSyntax in Parse to preserve '! ' menu syntax on round-trip
InputHelp.Parse never detected the ! short-menu-syntax comment prefix, so binding.IsShortMenuSyntax was always false. On the next save, ConvertToString emitted #menu: instead of ! , silently rewriting every such entry.
Added detection for #! (and bare #!) in Parse alongside the existing #menu: and #custom-menu: branches, setting IsShortMenuSyntax = true so the round-trip is lossless.