Mercurial > vim
annotate src/proto/textobject.pro @ 30092:53e7e912eeec v9.0.0382
patch 9.0.0382: freeing the wrong string on failure
Commit: https://github.com/vim/vim/commit/31ea6bf530a814991f669122dbc9921117a862c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 5 10:47:13 2022 +0100
patch 9.0.0382: freeing the wrong string on failure
Problem: Freeing the wrong string on failure.
Solution: Adjust the argument. Reorder the code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Sep 2022 12:00:06 +0200 |
parents | f103da6ba95f |
children |
rev | line source |
---|---|
20209
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* textobject.c */ |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 int findsent(int dir, long count); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 int findpar(int *pincl, int dir, long count, int what, int both); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 int startPS(linenr_T lnum, int para, int both); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 int fwd_word(long count, int bigword, int eol); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 int bck_word(long count, int bigword, int stop); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 int end_word(long count, int bigword, int stop, int empty); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 int bckend_word(long count, int bigword, int eol); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 int current_word(oparg_T *oap, long count, int include, int bigword); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 int current_sent(oparg_T *oap, long count, int include); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 int current_block(oparg_T *oap, long count, int include, int what, int other); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 int current_tagblock(oparg_T *oap, long count_arg, int include); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 int current_par(oparg_T *oap, long count, int include, int type); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 int current_quote(oparg_T *oap, long count, int include, int quotechar); |
6ca6a372fef6
patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 /* vim: set ft=c : */ |