diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-02 22:54:41 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-02 22:54:41 +0100 |
commit | 32aa10203bd0b4b270def03311a4599f9ffdecc4 (patch) | |
tree | 4c0188d20dcc6873e6d96f5a28b59bedcb8ebb0c /src/textprop.c | |
parent | 70def98a957620cc325d1ab6ee35f13187598693 (diff) | |
download | vim-git-32aa10203bd0b4b270def03311a4599f9ffdecc4.tar.gz |
patch 8.1.2243: typos in commentsv8.1.2243
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust
formatting a bit.
Diffstat (limited to 'src/textprop.c')
-rw-r--r-- | src/textprop.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/textprop.c b/src/textprop.c index 7029daaae..914b9e098 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -12,13 +12,12 @@ * * TODO: * - Adjust text property column and length when text is inserted/deleted. - * -> :substitute with multiple matches, issue #4427 * -> a :substitute with a multi-line match * -> search for changed_bytes() from misc1.c * -> search for mark_col_adjust() * - Perhaps we only need TP_FLAG_CONT_NEXT and can drop TP_FLAG_CONT_PREV? - * - Add an arrray for global_proptypes, to quickly lookup a prop type by ID - * - Add an arrray for b_proptypes, to quickly lookup a prop type by ID + * - Add an array for global_proptypes, to quickly lookup a prop type by ID + * - Add an array for b_proptypes, to quickly lookup a prop type by ID * - Checking the text length to detect text properties is slow. Use a flag in * the index, like DB_MARKED? * - Also test line2byte() with many lines, so that ml_updatechunk() is taken @@ -126,7 +125,7 @@ lookup_prop_type(char_u *name, buf_T *buf) * When the argument is not used or "bufnr" is not present then "buf" is * unchanged. * If "bufnr" is valid or not present return OK. - * When "arg" is not a dict or "bufnr" is invalide return FAIL. + * When "arg" is not a dict or "bufnr" is invalid return FAIL. */ static int get_bufnr_from_arg(typval_T *arg, buf_T **buf) |