mirror of
https://github.com/Mudlet/Mudlet
synced 2026-08-13 18:26:27 -04:00
#### Brief overview of PR changes/additions - A line opening with a list marker - `[1364]`, `(3)`, `2.`, `3)` or a bullet - is now treated as a new line rather than the continuation of the one above it, so help indexes, shop stock and menus survive the option being on. - Only markers that word wrap could not itself produce at the start of a continuation count. A spaced dash and a parenthesised number over 3 digits are deliberately excluded, since both open genuine wrapped prose. - 3 new functional tests, including negative controls proving ordinary prose still rejoins. #### Motivation for adding to Mudlet With "undo the game's word wrapping" enabled at 78 columns, a help index came out with entries glued together - each entry is a sentence that can end right at the wrap column, so nothing but its marker distinguished it from a wrapped paragraph. #### Other info (issues closed, discussion etc) Also raises the Windows Lua test step to the 3 minute budget Linux and macOS already have - it was left at 2 and timed out on a slow runner while the specs were still running. Folded in here rather than split out, by request. Follow-up to #9455, which added the option. The check reads the continuation only, so the last entry of a list can still absorb a full-width prose line that follows it - left alone deliberately, as requiring a marker on both lines would stop the first entry of a list detaching from a header above it. **Test case:** enable Settings -> Display -> "undo the game's own word wrapping" at 78, then on a game with a numbered help index (e.g. `help viking`) confirm each `[NNN]` entry stays on its own line. `ctest -R UndoServerWrapTest` covers it - 15/15 pass. Assisted-by: Claude:claude-opus-5 Signed-off-by: Vadim Peretokin <vadim.peretokin@mudlet.org> --------- Signed-off-by: Vadim Peretokin <vadim.peretokin@mudlet.org> |
||
|---|---|---|
| .. | ||
| build-mudlet-pr.yml | ||
| build-mudlet-win-pr.yml | ||
| build-mudlet-win.yml | ||
| build-mudlet.yml | ||
| check-mpackages.yml | ||
| check_pr_labels.yml | ||
| codeql-analysis.yml | ||
| codespell-analysis.yml | ||
| create-github-release.yml | ||
| dangerjs.yml | ||
| generate-changelog.yml | ||
| generate-coder-attribution.yml | ||
| link-ptbs-to-dblsqd.yml | ||
| performance-analysis.yml | ||
| tag-pull-requests.yml | ||
| update-3rdparty.yml | ||
| update-autocompletion.yml | ||
| update-en-us-plural.yml | ||
| update-geyser-docs.yml | ||
| update-translations.yml | ||