comparison runtime/doc/usr_41.txt @ 9644:9f7bcc2c3b97

commit https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 24 14:12:38 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Jul 2016 14:15:06 +0200
parents be72f4201a1d
children 3e96d9ed2ca1
comparison
equal deleted inserted replaced
9643:5aee77e6b395 9644:9f7bcc2c3b97
1 *usr_41.txt* For Vim version 7.4. Last change: 2016 Jul 09 1 *usr_41.txt* For Vim version 7.4. Last change: 2016 Jul 24
2 2
3 VIM USER MANUAL - by Bram Moolenaar 3 VIM USER MANUAL - by Bram Moolenaar
4 4
5 Write a Vim script 5 Write a Vim script
6 6
590 tolower() turn a string to lowercase 590 tolower() turn a string to lowercase
591 toupper() turn a string to uppercase 591 toupper() turn a string to uppercase
592 match() position where a pattern matches in a string 592 match() position where a pattern matches in a string
593 matchend() position where a pattern match ends in a string 593 matchend() position where a pattern match ends in a string
594 matchstr() match of a pattern in a string 594 matchstr() match of a pattern in a string
595 matchstrpos() match and postions of a pattern in a string 595 matchstrpos() match and positions of a pattern in a string
596 matchlist() like matchstr() and also return submatches 596 matchlist() like matchstr() and also return submatches
597 stridx() first index of a short string in a long string 597 stridx() first index of a short string in a long string
598 strridx() last index of a short string in a long string 598 strridx() last index of a short string in a long string
599 strlen() length of a string in bytes 599 strlen() length of a string in bytes
600 strchars() length of a string in characters 600 strchars() length of a string in characters
808 getcmdline() get the current command line 808 getcmdline() get the current command line
809 getcmdpos() get position of the cursor in the command line 809 getcmdpos() get position of the cursor in the command line
810 setcmdpos() set position of the cursor in the command line 810 setcmdpos() set position of the cursor in the command line
811 getcmdtype() return the current command-line type 811 getcmdtype() return the current command-line type
812 getcmdwintype() return the current command-line window type 812 getcmdwintype() return the current command-line window type
813 getcompletion() list of command-line completion matches
813 814
814 Quickfix and location lists: *quickfix-functions* 815 Quickfix and location lists: *quickfix-functions*
815 getqflist() list of quickfix errors 816 getqflist() list of quickfix errors
816 setqflist() modify a quickfix list 817 setqflist() modify a quickfix list
817 getloclist() list of location list items 818 getloclist() list of location list items
905 wildmenumode() check if the wildmode is active 906 wildmenumode() check if the wildmode is active
906 907
907 Testing: *test-functions* 908 Testing: *test-functions*
908 assert_equal() assert that two expressions values are equal 909 assert_equal() assert that two expressions values are equal
909 assert_notequal() assert that two expressions values are not equal 910 assert_notequal() assert that two expressions values are not equal
911 assert_inrange() assert that an expression is inside a range
910 assert_match() assert that a pattern matches the value 912 assert_match() assert that a pattern matches the value
911 assert_notmatch() assert that a pattern does not match the value 913 assert_notmatch() assert that a pattern does not match the value
912 assert_false() assert that an expression is false 914 assert_false() assert that an expression is false
913 assert_true() assert that an expression is true 915 assert_true() assert that an expression is true
914 assert_exception() assert that a command throws an exception 916 assert_exception() assert that a command throws an exception
915 assert_fails() assert that a function call fails 917 assert_fails() assert that a function call fails
916 test_alloc_fail() make memory allocation fail 918 test_alloc_fail() make memory allocation fail
919 test_autochdir() enable 'autochdir' during startup
917 test_disable_char_avail() test without typeahead 920 test_disable_char_avail() test without typeahead
918 test_garbagecollect_now() free memory right now 921 test_garbagecollect_now() free memory right now
919 test_null_channel() return a null Channel 922 test_null_channel() return a null Channel
920 test_null_dict() return a null Dict 923 test_null_dict() return a null Dict
921 test_null_job() return a null Job 924 test_null_job() return a null Job