First, the function takes an extra argument so it knows whether it's being called from visual mode or not.
首先,函数接受的参数多了一个,这样它能知道自己是否是在visual模式下调用的。
The IP then causes Visual mode to highlight the entire paragraph you're inside.
ip随后将使Visual模式突出显示您正位于其中的整个段落。
In earlier examples, functions have relied on an explicit command range or a Visual mode selection to determine which lines they operate on, but this function computes its own range directly.
在此前的例子中,函数依赖于一个显式的命令范围或一个Visual模式选择来确定要进行处理的行,但是这个函数则直接计算它自己的行范围。
In earlier examples, functions have relied on an explicit command range or a Visual mode selection to determine which lines they operate on, but this function computes its own range directly.
在此前的例子中,函数依赖于一个显式的命令范围或一个Visual模式选择来确定要进行处理的行,但是这个函数则直接计算它自己的行范围。
应用推荐