mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-05-24 13:05:30 +00:00
1296aa7792
Extract the inline cursor-walk in handleRegionCmd into file-local helpers (skipSpaces, rtrimSpaces, takeToken, splitNameJump, processRegionDefSegment), grouped immediately above the consumer. Behavior is identical; addresses PR #2540 review feedback on readability. Tighten the region def docs: collapse five Note callouts into three grouped paragraphs (Behavior / Existing regions / Limits), add a case-sensitivity caveat plus an error example, note the cursor reset between split commands, and use generic placeholder names.