mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	updated for version 7.3.803
Problem:    Substitute with confirmation and then "q" does not replace
            anything.  (John McGowan)
Solution:   Do not break the loop, skip to the end.
			
			
This commit is contained in:
		| @@ -153,11 +153,22 @@ STARTTEST | ||||
| ENDTEST | ||||
|  | ||||
| TEST_8: | ||||
|  | ||||
|  | ||||
| STARTTEST | ||||
| :set magic& | ||||
| :set cpo& | ||||
| :$put =\"\n\nTEST_8:\" | ||||
| :$put =',,X' | ||||
| :s/\(^\|,\)\ze\(,\|X\)/\1N/g | ||||
| :$put =',,Y' | ||||
| :s/\(^\|,\)\ze\(,\|Y\)/\1N/gc | ||||
| a:$put =',,Z' | ||||
| :s/\(^\|,\)\ze\(,\|Z\)/\1N/gc | ||||
| yy/^TEST_9: | ||||
| ENDTEST | ||||
|  | ||||
| TEST_9: | ||||
|  | ||||
| STARTTEST | ||||
| :set magic& | ||||
| :set cpo& | ||||
|   | ||||
| @@ -105,3 +105,7 @@ TEST_8: | ||||
| A123456789987654321 | ||||
|  | ||||
|  | ||||
| TEST_6: | ||||
| a | ||||
| % | ||||
| c | ||||
|   | ||||
		Reference in New Issue
	
	Block a user