Mercurial > vim
comparison src/register.c @ 19524:4a6a412e4565 v8.2.0319
patch 8.2.0319: file missing in distribution, comments outdated
Commit: https://github.com/vim/vim/commit/d672dde584effd55702ee15efec4cb2a8c77bf85
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 26 13:43:51 2020 +0100
patch 8.2.0319: file missing in distribution, comments outdated
Problem: File missing in distribution, comments outdated.
Solution: Correct path of README file. Update comments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Feb 2020 13:45:06 +0100 |
parents | 2ef19eed524a |
children | 00a1b89256ea |
comparison
equal
deleted
inserted
replaced
19523:a7a24d06d7ce | 19524:4a6a412e4565 |
---|---|
2615 } | 2615 } |
2616 return s; | 2616 return s; |
2617 } | 2617 } |
2618 | 2618 |
2619 /* | 2619 /* |
2620 * Return the contents of a register as a single allocated string. | 2620 * Return the contents of a register as a single allocated string or as a list. |
2621 * Used for "@r" in expressions and for getreg(). | 2621 * Used for "@r" in expressions and for getreg(). |
2622 * Returns NULL for error. | 2622 * Returns NULL for error. |
2623 * Flags: | 2623 * Flags: |
2624 * GREG_NO_EXPR Do not allow expression register | 2624 * GREG_NO_EXPR Do not allow expression register |
2625 * GREG_EXPR_SRC For the expression register: return expression itself, | 2625 * GREG_EXPR_SRC For the expression register: return expression itself, |
2626 * not the result of its evaluation. | 2626 * not the result of its evaluation. |
2627 * GREG_LIST Return a list of lines in place of a single string. | 2627 * GREG_LIST Return a list of lines instead of a single string. |
2628 */ | 2628 */ |
2629 char_u * | 2629 char_u * |
2630 get_reg_contents(int regname, int flags) | 2630 get_reg_contents(int regname, int flags) |
2631 { | 2631 { |
2632 long i; | 2632 long i; |