Mercurial > vim
annotate src/proto/blob.pro @ 24557:7a4cc4d3a40a v8.2.2818
patch 8.2.2818: no jump added when opening terminal in current window
Commit: https://github.com/vim/vim/commit/aeed2a6359e9ca692e1397884c3678685132d360
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 29 20:18:45 2021 +0200
patch 8.2.2818: no jump added when opening terminal in current window
Problem: No jump added to jumplist when opening terminal in current window.
Solution: Call setpcmark(). (closes https://github.com/vim/vim/issues/8158)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 29 Apr 2021 20:30:04 +0200 |
parents | 96905804bf5a |
children | 7144d2ffc86b |
rev | line source |
---|---|
15454
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* blob.c */ |
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 blob_T *blob_alloc(void); |
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 int rettv_blob_alloc(typval_T *rettv); |
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void rettv_blob_set(typval_T *rettv, blob_T *b); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
17530
diff
changeset
|
5 int blob_copy(blob_T *from, typval_T *to); |
15454
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 void blob_free(blob_T *b); |
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 void blob_unref(blob_T *b); |
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 long blob_len(blob_T *b); |
15589
44ea60ca593b
patch 8.1.0802: negative index doesn't work for Blob
Bram Moolenaar <Bram@vim.org>
parents:
15581
diff
changeset
|
9 int blob_get(blob_T *b, int idx); |
24475
96905804bf5a
patch 8.2.2777: Vim9: blob operations not tested in all ways
Bram Moolenaar <Bram@vim.org>
parents:
24454
diff
changeset
|
10 void blob_set(blob_T *blob, int idx, int byte); |
96905804bf5a
patch 8.2.2777: Vim9: blob operations not tested in all ways
Bram Moolenaar <Bram@vim.org>
parents:
24454
diff
changeset
|
11 void blob_set_append(blob_T *blob, int idx, int byte); |
15454
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 int blob_equal(blob_T *b1, blob_T *b2); |
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 int read_blob(FILE *fd, blob_T *blob); |
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 int write_blob(FILE *fd, blob_T *blob); |
15466
435fcefd2c8e
patch 8.1.0741: viminfo with Blob is not tested
Bram Moolenaar <Bram@vim.org>
parents:
15454
diff
changeset
|
15 char_u *blob2string(blob_T *blob, char_u **tofree, char_u *numbuf); |
435fcefd2c8e
patch 8.1.0741: viminfo with Blob is not tested
Bram Moolenaar <Bram@vim.org>
parents:
15454
diff
changeset
|
16 blob_T *string2blob(char_u *str); |
24432
aa150abca273
patch 8.2.2756: Vim9: blob index and slice not implemented yet
Bram Moolenaar <Bram@vim.org>
parents:
19181
diff
changeset
|
17 int blob_slice_or_index(blob_T *blob, int is_range, varnumber_T n1, varnumber_T n2, int exclusive, typval_T *rettv); |
24454
53216e87f21c
patch 8.2.2767: compiler warning for unused argument
Bram Moolenaar <Bram@vim.org>
parents:
24450
diff
changeset
|
18 int check_blob_index(long bloblen, varnumber_T n1, int quiet); |
24450
3e1886f1e875
patch 8.2.2765: Vim9: not all blob operations work
Bram Moolenaar <Bram@vim.org>
parents:
24434
diff
changeset
|
19 int check_blob_range(long bloblen, varnumber_T n1, varnumber_T n2, int quiet); |
24434
602e528a8e43
patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separate
Bram Moolenaar <Bram@vim.org>
parents:
24432
diff
changeset
|
20 int blob_set_range(blob_T *dest, long n1, long n2, typval_T *src); |
17530
ef23ec1eee54
patch 8.1.1763: evalfunc.c is still too big
Bram Moolenaar <Bram@vim.org>
parents:
15589
diff
changeset
|
21 void blob_remove(typval_T *argvars, typval_T *rettv); |
15454
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
22 /* vim: set ft=c : */ |