aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-text-enclose-indent.el
Commit message (Collapse)AuthorAgeFilesLines
* fix(custom-text-enclose): decouple indent count from the tabs choiceCraig Jennings6 days1-0/+29
| | | | cj/indent-lines-in-region-or-buffer used "p\nP", so both COUNT and USE-TABS came from the one prefix argument: no prefix gave count 1 (the docstring's "4" was wrong) with spaces, and any numeric prefix that set the count also forced tabs. Indenting several spaces was unreachable interactively. The prefix argument is now the count (defaulting to 4), and tabs-vs-spaces follows the buffer's indent-tabs-mode. cj/dedent-lines-in-region-or-buffer had the same wrong "default 4" and now defaults its count to 4 too. Added interactive-path tests, since the internals were already covered.
* Revert "checking in modified/removed tests and other misc changes"Craig Jennings2025-11-141-0/+241
| | | | This reverts commit d36afc3f277b9a4228eb7b2464ec4e503695b8d4.
* checking in modified/removed tests and other misc changesCraig Jennings2025-11-141-241/+0
|
* feat:text-enclose): Enhance text enclosure: new functions and testsCraig Jennings2025-10-261-0/+241
Add line manipulation utilities: `append-to-lines`, `prepend-to-lines`, `indent-lines`, and `dedent-lines`. Add tests for these functions and improve existing text wrapping functionalities with `wrap`, `unwrap`, and `surround` implementations. Extend keymap for easier access to these functions.