Mercurial > vim
view src/proto/hardcopy.pro @ 31047:ac1f548223a5 v9.0.0858
patch 9.0.0858: "!!sort" in a closed fold sorts too many lines
Commit: https://github.com/vim/vim/commit/f00112d558eb9a7d1d5413c096960ddcc52c9f66
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 11 01:20:35 2022 +0000
patch 9.0.0858: "!!sort" in a closed fold sorts too many lines
Problem: "!!sort" in a closed fold sorts too many lines.
Solution: Round to end of fold after adding the line count. (closes https://github.com/vim/vim/issues/11487)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Nov 2022 02:30:03 +0100 |
parents | 55ccc2d353bd |
children | ca6bc7c04163 |
line wrap: on
line source
/* hardcopy.c */ char *parse_printoptions(void); char *parse_printmbfont(void); int prt_header_height(void); int prt_use_number(void); int prt_get_unit(int idx); void ex_hardcopy(exarg_T *eap); void mch_print_cleanup(void); int mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit); int mch_print_begin(prt_settings_T *psettings); void mch_print_end(prt_settings_T *psettings); int mch_print_end_page(void); int mch_print_begin_page(char_u *str); int mch_print_blank_page(void); void mch_print_start_line(int margin, int page_line); int mch_print_text_out(char_u *textp, int len); void mch_print_set_font(int iBold, int iItalic, int iUnderline); void mch_print_set_bg(long_u bgcol); void mch_print_set_fg(long_u fgcol); /* vim: set ft=c : */