A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/4efcb72bb758ce93e86fa3ef520e009d01d4891b below:

partially port v8.1.1993 · neovim/neovim@4efcb72 · GitHub

@@ -5854,7 +5854,7 @@ histadd({history}, {item}) *histadd()*

5854 5854 5855 5855

Can also be used as a |method|, the base is used for the

5856 5856

second argument: >

5857 -

GetPattern()->histadd('search')

5857 +

GetHistory()->histadd('search')

5858 5858 5859 5859

histdel({history} [, {item}]) *histdel()*

5860 5860

Clear {history}, i.e. delete all its entries. See |hist-names|

@@ -8072,6 +8072,9 @@ screenattr({row}, {col}) *screenattr()*

8072 8072

arbitrary number that can only be used to compare to the

8073 8073

attribute at other positions.

8074 8074 8075 +

Can also be used as a |method|: >

8076 +

GetRow()->screenattr(col)

8077 + 8075 8078

screenchar({row}, {col}) *screenchar()*

8076 8079

The result is a Number, which is the character at position

8077 8080

[row, col] on the screen. This works for every possible

@@ -8082,13 +8085,19 @@ screenchar({row}, {col}) *screenchar()*

8082 8085

This is mainly to be used for testing.

8083 8086

Returns -1 when row or col is out of range.

8084 8087 8088 +

Can also be used as a |method|: >

8089 +

GetRow()->screenchar(col)

8090 + 8085 8091

screenchars({row}, {col}) *screenchars()*

8086 8092

The result is a List of Numbers. The first number is the same

8087 8093

as what |screenchar()| returns. Further numbers are

8088 8094

composing characters on top of the base character.

8089 8095

This is mainly to be used for testing.

8090 8096

Returns an empty List when row or col is out of range.

8091 8097 8098 +

Can also be used as a |method|: >

8099 +

GetRow()->screenchars(col)

8100 + 8092 8101

screencol() *screencol()*

8093 8102

The result is a Number, which is the current screen column of

8094 8103

the cursor. The leftmost column has number 1.

@@ -8124,6 +8133,9 @@ screenpos({winid}, {lnum}, {col}) *screenpos()*

8124 8133

right position and use |screencol()| to get the value with

8125 8134

|conceal| taken into account.

8126 8135 8136 +

Can also be used as a |method|: >

8137 +

GetWinid()->screenpos(lnum, col)

8138 + 8127 8139

screenrow() *screenrow()*

8128 8140

The result is a Number, which is the current screen row of the

8129 8141

cursor. The top line has number one.

@@ -8140,6 +8152,9 @@ screenstring({row}, {col}) *screenstring()*

8140 8152

This is mainly to be used for testing.

8141 8153

Returns an empty String when row or col is out of range.

8142 8154 8155 +

Can also be used as a |method|: >

8156 +

GetRow()->screenstring(col)

8157 + 8143 8158

search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*

8144 8159

Search for regexp pattern {pattern}. The search starts at the

8145 8160

cursor position (you can use |cursor()| to set it).

@@ -8230,6 +8245,8 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*

8230 8245

without the 'e' flag if the cursor is on the "f" of "if".

8231 8246

The 'n' flag tells the function not to move the cursor.

8232 8247 8248 +

Can also be used as a |method|: >

8249 +

GetPattern()->search()

8233 8250 8234 8251

searchcount([{options}]) *searchcount()*

8235 8252

Get or update the last search count, like what is displayed

@@ -8368,6 +8385,9 @@ searchdecl({name} [, {global} [, {thisblock}]]) *searchdecl()*

8368 8385

if searchdecl('myvar') == 0

8369 8386

echo getline('.')

8370 8387

endif

8388 +

<

8389 +

Can also be used as a |method|: >

8390 +

GetName()->searchdecl()

8371 8391

<

8372 8392

*searchpair()*

8373 8393

searchpair({start}, {middle}, {end} [, {flags} [, {skip}

@@ -8483,6 +8503,9 @@ searchpos({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *searchpos()*

8483 8503

< In this example "submatch" is 2 when a lowercase letter is

8484 8504

found |/\l|, 3 when an uppercase letter is found |/\u|.

8485 8505 8506 +

Can also be used as a |method|: >

8507 +

GetPattern()->searchpos()

8508 + 8486 8509

server2client({clientid}, {string}) *server2client()*

8487 8510

Send a reply string to {clientid}. The most recent {clientid}

8488 8511

that sent a string can be retrieved with expand("<client>").

@@ -8494,6 +8517,9 @@ server2client({clientid}, {string}) *server2client()*

8494 8517

See also |clientserver|.

8495 8518

Example: >

8496 8519

:echo server2client(expand("<client>"), "HELLO")

8520 + 8521 +

< Can also be used as a |method|: >

8522 +

GetClientId()->server2client(string)

8497 8523

<

8498 8524

serverlist() *serverlist()*

8499 8525

Returns a list of server addresses, or empty if all servers

@@ -8559,6 +8585,9 @@ setbufline({buf}, {lnum}, {text}) *setbufline()*

8559 8585

If {buf} is not a valid buffer or {lnum} is not valid, an

8560 8586

error message is given.

8561 8587 8588 +

Can also be used as a |method|: >

8589 +

GetText()->setbufline(buf, lnum)

8590 + 8562 8591

setbufvar({buf}, {varname}, {val}) *setbufvar()*

8563 8592

Set option or local variable {varname} in buffer {buf} to

8564 8593

{val}.

@@ -8573,6 +8602,9 @@ setbufvar({buf}, {varname}, {val}) *setbufvar()*

8573 8602

:call setbufvar("todo", "myvar", "foobar")

8574 8603

< This function is not available in the |sandbox|.

8575 8604 8605 +

Can also be used as a |method|: >

8606 +

GetValue()->setbufvar(buf, varname)

8607 + 8576 8608

setcharsearch({dict}) *setcharsearch()*

8577 8609

Set the current character search information to {dict},

8578 8610

which contains one or more of the following entries:

@@ -8593,6 +8625,9 @@ setcharsearch({dict}) *setcharsearch()*

8593 8625

:call setcharsearch(prevsearch)

8594 8626

< Also see |getcharsearch()|.

8595 8627 8628 +

Can also be used as a |method|: >

8629 +

SavedSearch()->setcharsearch()

8630 + 8596 8631

setcmdpos({pos}) *setcmdpos()*

8597 8632

Set the cursor position in the command line to byte position

8598 8633

{pos}. The first position is 1.

@@ -8608,13 +8643,19 @@ setcmdpos({pos}) *setcmdpos()*

8608 8643

Returns FALSE when successful, TRUE when not editing the

8609 8644

command line.

8610 8645 8646 +

Can also be used as a |method|: >

8647 +

GetPos()->setcmdpos()

8648 + 8611 8649

setenv({name}, {val}) *setenv()*

8612 8650

Set environment variable {name} to {val}. Example: >

8613 8651

call setenv('HOME', '/home/myhome')

8614 8652 8615 8653

< When {val} is |v:null| the environment variable is deleted.

8616 8654

See also |expr-env|.

8617 8655 8656 +

Can also be used as a |method|, passing the value as the base: >

8657 +

GetPath()->setenv('PATH')

8658 + 8618 8659

setfperm({fname}, {mode}) *setfperm()* *chmod*

8619 8660

Set the file permissions for {fname} to {mode}.

8620 8661

{mode} must be a string with 9 characters. It is of the form

@@ -8660,6 +8701,9 @@ setline({lnum}, {text}) *setline()*

8660 8701 8661 8702

< Note: The '[ and '] marks are not set.

8662 8703 8704 +

Can also be used as a |method|, passing the text as the base: >

8705 +

GetText()->setline(lnum)

8706 + 8663 8707

setloclist({nr}, {list}[, {action}[, {what}]]) *setloclist()*

8664 8708

Create or replace or add to the location list for window {nr}.

8665 8709

{nr} can be the window number or the |window-ID|.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4