mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	runtime(doc): Add [range] spec to :help :tcl and :help :tclfile
A range is allowed for all :tcl* commands. closes: #18154 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
		
				
					committed by
					
						 Christian Brabandt
						Christian Brabandt
					
				
			
			
				
	
			
			
			
						parent
						
							e0196f3e27
						
					
				
				
					commit
					5d8098b117
				
			| @@ -1,4 +1,4 @@ | |||||||
| *if_tcl.txt*    For Vim version 9.1.  Last change: 2024 Oct 05 | *if_tcl.txt*    For Vim version 9.1.  Last change: 2025 Aug 29 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Ingo Wilken | 		  VIM REFERENCE MANUAL    by Ingo Wilken | ||||||
| @@ -26,7 +26,7 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de> | |||||||
| 1. Commands				*tcl-ex-commands* *E571* *E572* | 1. Commands				*tcl-ex-commands* *E571* *E572* | ||||||
|  |  | ||||||
| 							*:tcl* | 							*:tcl* | ||||||
| :tcl {cmd}		Execute Tcl command {cmd}.  A simple check if `:tcl` | :[range]tcl {cmd}	Execute Tcl command {cmd}.  A simple check if `:tcl` | ||||||
| 			is working: > | 			is working: > | ||||||
| 				:tcl puts "Hello" | 				:tcl puts "Hello" | ||||||
|  |  | ||||||
| @@ -69,7 +69,8 @@ To see what version of Tcl you have: > | |||||||
| 			See |tcl-var-line| and |tcl-var-lnum|. | 			See |tcl-var-line| and |tcl-var-lnum|. | ||||||
|  |  | ||||||
| 							*:tclfile* *:tclf* | 							*:tclfile* *:tclf* | ||||||
| :tclf[ile] {file}	Execute the Tcl script in {file}.  This is the same as | :[range]tclf[ile] {file} | ||||||
|  | 			Execute the Tcl script in {file}.  This is the same as | ||||||
| 			":tcl source {file}", but allows file name completion. | 			":tcl source {file}", but allows file name completion. | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user