- 2019-07-09 AutoCompleteTextView 问题
皮皮铭
实现自定义Adapter要实现Filterable接口,不然会报错重写getFilter()方法performFiltering()方法实现过滤数据的操作publishResults()用来接收performFiltering()的返回值,发布。
- 使用vue3+ts封装一个自动补全输入框Autocomplete组件
温暖前端
javascript前端vue.js
创建一个名为Autocomplete.vue的文件,在这个组件中,使用了Vue3的CompositionAPI,包括ref、watch、onMounted等。组件接收placeholder、debounce和clearable作为props,并根据这些props来渲染输入框和下拉菜单{{item}}import{defineComponent,ref,watch,onMounted}from'vu
- vue 高德地图api爬坑之路(三)Autocomplete 和 PlaceSearch
小C_cao
vue高德地图API
添加页面控件搜索初始化插件编辑方法/**初始化搜索工具*/mapSearchInit(){letthat=this;//绑定自动提示AMap.plugin(['AMap.Autocomplete','AMap.PlaceSearch'],function(){varautoOptions={input:"tipInput",//值为界面上input空间idcity:'北京',}varautoCom
- 下拉提示(GoogleSuggest)
xedcoing
技术autocompletefunctionjavascriptstringjqueryclass
样式:.autocomplete{width:200px;border:1pxsolid#999;background:white;position:absolute;overflow:hidden;list-style-type:none;padding-left:0;margin-left:0px;margin-top:0;}JS:(Jquery)var$autocomplete=$("").
- 禁止浏览器默认填充密码 vue
lzr请早点睡觉~
前端javascriptvue.js
禁止浏览器默认填充密码会和我的样式冲突所以禁止第一种:通过给表单元素添加autocomplete="off"属性,可以防止浏览器自动填充表单中的账号和密码。可以在input标签或整个form标签上使用:exportdefault{data(){return{username:'',password:''};}};为密码输入框动态设置name属性有时仅仅使用autocomplete="off"不能完
- 【Vue】el-autocomplete禁用时仍会触发下拉的问题
益达是我
vuevue.jsjavascript
文章目录问题解决问题el-autocomplete禁用时,点击后仍会触发下拉,导致出现bug解决试了一下官方disabled属性、@focus、@click.stop均不起作用,最后无奈只能在查询方法那里做处理functionqueryAsync(queryString,cb){//重点if(!queryString||isDis.value){cb([])return}constdata={}q
- vue element input让浏览器不保存密码
niesiyuan000
vue.jselementuijavascript
从网上看了很多,比如auto-complete="new-password"比如autocomplete="off"这是真的用不了啊,最后用css可以实现1、html2、datareach__vioSecretkey:'',//违纪秘钥reach__seePwd:false,3、methodsseePwd(){this.reach__seePwd=!this.reach__seePwd},4、cs
- autocomplete 完成功能
曾经也是个少年
链接定义和用法autocomplete属性规定输入字段是否应该启用自动完成功能。自动完成允许浏览器预测对字段的输入。当用户在字段开始键入时,浏览器基于之前键入过的值,应该显示出在字段中填写的选项。注释:autocomplete属性适用于,以及下面的类型:text,search,url,telephone,email,password,datepickers,range以及color。提示:在某些浏
- 前端input密码自动填充问题解决方案,React项目
猛踹瘸子那条好腿の
前端
在input上写入autoComplete='new-password'可以禁止浏览器的自动填充密码1定义一个变量const[inputType,setInputType]=useState('text')2进入页面的是否将密码输入框的type设置为text3再jsx函数体内声明onchange函数constonChangePass=(e)=>{setInputType('password')}只
- vue+高德,百度地图
友人!
vue.js百度前端
1,npm安装vue-amapnpminstallvue-amap--save2,main.js引入importVueAMapfrom'vue-amap';Vue.use(VueAMap);VueAMap.initAMapApiLoader({key:'',plugin:['AMap.Autocomplete','AMap.PlaceSearch','AMap.Scale','AMap.OverV
- C#如何实现一个输入框输入,匹配提示数据
狂人开飞机
C#c#
在C#中可以使用AutoCompleteStringCollection类来实现输入框的自动完成功能。首先需要创建一个包含所有候选项的字符串集合(List)或者从文件、数据库等地方获取到这些候选项。然后将该集合传递给TextBox控件的AutoCompleteCustomSource属性。下面是一个示例代码:usingSystem;usingSystem.Collections.Generic;u
- VS Code 配置第三方库 类似pygame
chinaherolts2008
python基础教程python基础教程
打开终端用pip安装pygamepipinstallpygame显示上图信息就说明安装成功安装完成之后在Python的安装目录中可以找到\Pythonxx\Lib\site-packages打开VSCode->文件->首选项->设置->用户->扩展->Python->AutoComplete:ExtraPaths->在settings.json中编辑在json中添加代码如下(将路径换位你的Pyth
- vscode解决自动补全突然失效的问题(c++)
大头哇
c++c++vscode
1:打开:首选项----->设置2:在搜索框里搜索autocomplete,然后选择对应的语言将这两部分改成这种就可以使用了。
- chrome浏览器自动填充密码的字号设置不生效
学敲代码的Stars
chrome前端javascript
问题刷新浏览器初始化字号很小随便点击一下就会恢复我设置的字号大小原因给表单设置自动填充autocomplete=“on”后,chrome会默认给自动填充的input表单加上input:-webkit-autofill私有属性解决办法方法一,对私有属性设置样式(没成功)input:-webkit-autofill::first-line{font-size:20px;}方法二,关闭自动填充试了官方的
- 进阶1-2 android常用控件综述
我在西边等太阳
笔记进阶1android
这里主要根据书本知识网络知识和使用过的控件及好用的第三方控件做一个总结统计,肯定不全面,但一下也想不到多少。一步步写下去发现真的是越基础的控件越精彩,因为现在有很多封装好的控件很少会去调原生的自己写,但是多了解一点也没有坏处。目录文本类1、TextView2、EditText3、AutoCompleteTextView(单项提示的自动完成文本框)4、MultiAutoCompleteTextVie
- 07-JQuery插件应用
D丝学编程
本教程主要以JqueryUI为例,简单介绍Jquery插件的使用。使用JQueryUI提供的基本功能,需要如下文件支持:(1)jquery-ui.css(2)jquery.js(3)jquery-ui.jsjqueryui主题风格:可以通过如下网站地址选择风格或者自定义https://jqueryui.com/themeroller/一、JqueryUI-AutocompleteJqueryUI-
- 响应式Web开发项目教程(HTML5+CSS3+Bootstrap)第2版 例4-10 autocomplete属性
m0_73657966
前端html5css3
代码autocomplete属性提交按钮运行效果首先输入“autocomplete属性”,单击“提交按钮”,再输入“abc”,单击“提交按钮”,多次输入“a”时将会出现如下页面效果。autocoplete属性(on:表单有自动完成功能;off:表单无自动完成功能)用于指定表单是否具有自动完成功能,所谓“自动完成”是指将表单控件输入的内容记录下来。当再次输入时,输入的历史纪录将会显示在一个下拉列表单
- 关于vue3使用Element ui输入框无法输入的简单解决方法
橙子君Crush
typescriptvue.jsjavascriptscsselementui前端
这应该是解决elementui输入框无法输入最简单有效的方法了script部分加入下面的代码import{reactive}from"vue";constform=reactive({name:""});element组件v-model填上对应的变量名autocomplete自动补全输入框这种类型的输入框,需要再添加一个input事件
- Implement Trie (Prefix Tree)
kotic
leetcode算法学习算法
ProblemAtrie(pronouncedas"try")orprefixtreeisatreedatastructureusedtoefficientlystoreandretrievekeysinadatasetofstrings.Therearevariousapplicationsofthisdatastructure,suchasautocompleteandspellchecker
- Implement Trie (Prefix Tree)
kotic
leetcode算法学习python
ProblemAtrie(pronouncedas"try")orprefixtreeisatreedatastructureusedtoefficientlystoreandretrievekeysinadatasetofstrings.Therearevariousapplicationsofthisdatastructure,suchasautocompleteandspellchecker
- 获取radio点击事件
千奇百怪的漫长旅行
js
获取radio点击事件,不能用click(),而是用change().$('input:radio[name="options"]').change(function(){if($(this).is(":checked")){alert($(this).attr("autocomplete"));}else{alert(0);}});
- element的el-autocomplete组件的使用(模糊匹配、自定义模板、远程搜索)
小白_ysf
Elementjavascript前端vue.jselementui
一、代码实现激活即列出输入建议输入后匹配输入建议自定义模板{{item.value}}{{item.address}}远程搜索exportdefault{name:'AutoComplete',data(){return{restaurants:[],state1:'',state2:'',state3:'',state4:'',};},mounted(){this.restaurants=thi
- react + antd:AutoComplete 实现既可以自由输入又能下拉选择
羽墨灵丘
react.jsjavascript前端
在工作中遇到一个需求,既能下拉选择,有要求可以自由输入没有的选项。刚开始考虑使用Select组件,发现只有多选(mode="tags")的时候才能随意输入内容,但多选又不符合当前的业务需求。在犹豫要不要自定义一个组件来实现业务需求时,发现了AutoComplete组件,完美实现需求。AutoCompete自动完成适用情况需要一个输入框而不是选择器需要输入建议/辅助提示(另一种形式的选项)代码示例c
- LoadRunner脚本开发中的一些快捷键的使用
晋阳十二夜
脚本开发脚本函数LoadRunner
1)编码工具的使用自动补全输入:Tools->GeneralOptions->Environment->Autocompleteword显示功能语法:Tools->GeneralOptions->Environment->ShowFunctionSyntax2)脚本调试1.单步调试->F102.断点调试->鼠标移动到要设置断点的脚本位置,通过Insert->ToggleBreakpoint(F9)
- autocomplete 属性 清除input框输入存留历史值,防止下拉历史值显示
廿二又
web前端html前端css历史浏览器
autocomplete属性规定输入字段是否应该启用自动完成功能。自动完成允许浏览器预测对字段的输入。当用户在字段开始键入时,浏览器基于之前键入过的值,应该显示出在字段中填写的选项。注释:autocomplete属性适用于,以及下面的类型:text,search,url,telephone,email,password,datepickers,range以及color。如果打开on效果如下
- Qt优秀开源项目之六:qt-material-widgets
草上爬
Qt优秀开源项目Qt控件meterial
炫酷的Material风格Qt控件,这个开源库基于QtWidgets,已经实现了20个控件,但是已经有5年没更新了,比较可惜gihub地址:https://github.com/laserpants/qt-material-widgetsAppBarQtMaterialAppBarAutoCompleteQtMaterialAutoCompleteAvatarQtMaterialAvatarBad
- element UI带输入建议输入框el-autocomplete点击回车下拉框不消失问题
杜蜜月
项目问题小记javascriptcss3vue.jshtml5
问题描述点击回车(或者自己定义的icon图标)不能收起建议框解决当建议框的内容为空的时候建议框会自己收起search(){//把suggestions置空this.$refs.autocomplete.suggestions=[];}问题已解决,在点击回车和icon搜索图标时会收起建议框
- Visual Studio Code作为React Native的开发IDE,智能提示等等插件安装
Loki_
1、ReactNativeTools2、React-Native/React/Reduxsnippetsfores6/es73、ReactNativeSnippet4、ES7React/Redux/GraphQL/React-Nativesnippets5、ColorHighlight颜色高亮效果1效果26、Imagepreview图片预览效果1效果27、PathAutocomplete路径补齐8
- 编程笔记 html5&css&js 028 HTML输入属性(2/2)
明月看潮生
#html5css3javascript少年工程师
@[TOC](编程笔记html5&css&js028HTML输入属性(2/2))HTML5新半了很多输入属性。使表单输入更加细致,减少了页面编程的复杂性。HTML5输入属性HTML5为增加了如下属性:autocompleteautofocusformformactionformenctypeformmethodformnovalidateformtargetheight和widthlistmin和
- vsCode中编写vue项目时,webpack配置的alias别名无效
汝若念卿
1、vsCode工具配置(settings.json文件配置所有项目可用)解决方案一:在插件市场中安装PathIntellisense插件并启用。根据以下提示信息,修改vsCode配置文件settings.json文件:解决方案二:在插件市场中安装PathAutocomplete插件并启用。根据以下提示信息,修改vsCode配置文件settings.json文件:2、项目配置如项目需要单独配置,可
- apache 安装linux windows
墙头上一根草
apacheinuxwindows
linux安装Apache 有两种方式一种是手动安装通过二进制的文件进行安装,另外一种就是通过yum 安装,此中安装方式,需要物理机联网。以下分别介绍两种的安装方式
通过二进制文件安装Apache需要的软件有apr,apr-util,pcre
1,安装 apr 下载地址:htt
- fill_parent、wrap_content和match_parent的区别
Cb123456
match_parentfill_parent
fill_parent、wrap_content和match_parent的区别:
1)fill_parent
设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或控件为fill_parent将强制性让它布满整个屏幕。
2) wrap_conte
- 网页自适应设计
天子之骄
htmlcss响应式设计页面自适应
网页自适应设计
网页对浏览器窗口的自适应支持变得越来越重要了。自适应响应设计更是异常火爆。再加上移动端的崛起,更是如日中天。以前为了适应不同屏幕分布率和浏览器窗口的扩大和缩小,需要设计几套css样式,用js脚本判断窗口大小,选择加载。结构臃肿,加载负担较大。现笔者经过一定时间的学习,有所心得,故分享于此,加强交流,共同进步。同时希望对大家有所
- [sql server] 分组取最大最小常用sql
一炮送你回车库
SQL Server
--分组取最大最小常用sql--测试环境if OBJECT_ID('tb') is not null drop table tb;gocreate table tb( col1 int, col2 int, Fcount int)insert into tbselect 11,20,1 union allselect 11,22,1 union allselect 1
- ImageIO写图片输出到硬盘
3213213333332132
javaimage
package awt;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imagei
- 自己的String动态数组
宝剑锋梅花香
java动态数组数组
数组还是好说,学过一两门编程语言的就知道,需要注意的是数组声明时需要把大小给它定下来,比如声明一个字符串类型的数组:String str[]=new String[10]; 但是问题就来了,每次都是大小确定的数组,我需要数组大小不固定随时变化怎么办呢? 动态数组就这样应运而生,龙哥给我们讲的是自己用代码写动态数组,并非用的ArrayList 看看字符
- pinyin4j工具类
darkranger
.net
pinyin4j工具类Java工具类 2010-04-24 00:47:00 阅读69 评论0 字号:大中小
引入pinyin4j-2.5.0.jar包:
pinyin4j是一个功能强悍的汉语拼音工具包,主要是从汉语获取各种格式和需求的拼音,功能强悍,下面看看如何使用pinyin4j。
本人以前用AscII编码提取工具,效果不理想,现在用pinyin4j简单实现了一个。功能还不是很完美,
- StarUML学习笔记----基本概念
aijuans
UML建模
介绍StarUML的基本概念,这些都是有效运用StarUML?所需要的。包括对模型、视图、图、项目、单元、方法、框架、模型块及其差异以及UML轮廓。
模型、视与图(Model, View and Diagram)
&
- Activiti最终总结
avords
Activiti id 工作流
1、流程定义ID:ProcessDefinitionId,当定义一个流程就会产生。
2、流程实例ID:ProcessInstanceId,当开始一个具体的流程时就会产生,也就是不同的流程实例ID可能有相同的流程定义ID。
3、TaskId,每一个userTask都会有一个Id这个是存在于流程实例上的。
4、TaskDefinitionKey和(ActivityImpl activityId
- 从省市区多重级联想到的,react和jquery的差别
bee1314
jqueryUIreact
在我们的前端项目里经常会用到级联的select,比如省市区这样。通常这种级联大多是动态的。比如先加载了省,点击省加载市,点击市加载区。然后数据通常ajax返回。如果没有数据则说明到了叶子节点。 针对这种场景,如果我们使用jquery来实现,要考虑很多的问题,数据部分,以及大量的dom操作。比如这个页面上显示了某个区,这时候我切换省,要把市重新初始化数据,然后区域的部分要从页面
- Eclipse快捷键大全
bijian1013
javaeclipse快捷键
Ctrl+1 快速修复(最经典的快捷键,就不用多说了)Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑ 当前行和上面一行交互位置(同上)Alt+← 前一个编辑的页面Alt+→ 下一个编辑的页面(当然是针对上面那条来说了)Alt+En
- js 笔记 函数
征客丶
JavaScript
一、函数的使用
1.1、定义函数变量
var vName = funcation(params){
}
1.2、函数的调用
函数变量的调用: vName(params);
函数定义时自发调用:(function(params){})(params);
1.3、函数中变量赋值
var a = 'a';
var ff
- 【Scala四】分析Spark源代码总结的Scala语法二
bit1129
scala
1. Some操作
在下面的代码中,使用了Some操作:if (self.partitioner == Some(partitioner)),那么Some(partitioner)表示什么含义?首先partitioner是方法combineByKey传入的变量,
Some的文档说明:
/** Class `Some[A]` represents existin
- java 匿名内部类
BlueSkator
java匿名内部类
组合优先于继承
Java的匿名类,就是提供了一个快捷方便的手段,令继承关系可以方便地变成组合关系
继承只有一个时候才能用,当你要求子类的实例可以替代父类实例的位置时才可以用继承。
在Java中内部类主要分为成员内部类、局部内部类、匿名内部类、静态内部类。
内部类不是很好理解,但说白了其实也就是一个类中还包含着另外一个类如同一个人是由大脑、肢体、器官等身体结果组成,而内部类相
- 盗版win装在MAC有害发热,苹果的东西不值得买,win应该不用
ljy325
游戏applewindowsXPOS
Mac mini 型号: MC270CH-A RMB:5,688
Apple 对windows的产品支持不好,有以下问题:
1.装完了xp,发现机身很热虽然没有运行任何程序!貌似显卡跑游戏发热一样,按照那样的发热量,那部机子损耗很大,使用寿命受到严重的影响!
2.反观安装了Mac os的展示机,发热量很小,运行了1天温度也没有那么高
&nbs
- 读《研磨设计模式》-代码笔记-生成器模式-Builder
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
/**
* 生成器模式的意图在于将一个复杂的构建与其表示相分离,使得同样的构建过程可以创建不同的表示(GoF)
* 个人理解:
* 构建一个复杂的对象,对于创建者(Builder)来说,一是要有数据来源(rawData),二是要返回构
- JIRA与SVN插件安装
chenyu19891124
SVNjira
JIRA安装好后提交代码并要显示在JIRA上,这得需要用SVN的插件才能看见开发人员提交的代码。
1.下载svn与jira插件安装包,解压后在安装包(atlassian-jira-subversion-plugin-0.10.1)
2.解压出来的包里下的lib文件夹下的jar拷贝到(C:\Program Files\Atlassian\JIRA 4.3.4\atlassian-jira\WEB
- 常用数学思想方法
comsci
工作
对于搞工程和技术的朋友来讲,在工作中常常遇到一些实际问题,而采用常规的思维方式无法很好的解决这些问题,那么这个时候我们就需要用数学语言和数学工具,而使用数学工具的前提却是用数学思想的方法来描述问题。。下面转帖几种常用的数学思想方法,仅供学习和参考
函数思想
把某一数学问题用函数表示出来,并且利用函数探究这个问题的一般规律。这是最基本、最常用的数学方法
- pl/sql集合类型
daizj
oracle集合typepl/sql
--集合类型
/*
单行单列的数据,使用标量变量
单行多列数据,使用记录
单列多行数据,使用集合(。。。)
*集合:类似于数组也就是。pl/sql集合类型包括索引表(pl/sql table)、嵌套表(Nested Table)、变长数组(VARRAY)等
*/
/*
--集合方法
&n
- [Ofbiz]ofbiz初用
dinguangx
电商ofbiz
从github下载最新的ofbiz(截止2015-7-13),从源码进行ofbiz的试用
1. 加载测试库
ofbiz内置derby,通过下面的命令初始化测试库
./ant load-demo (与load-seed有一些区别)
2. 启动内置tomcat
./ant start
或
./startofbiz.sh
或
java -jar ofbiz.jar
&
- 结构体中最后一个元素是长度为0的数组
dcj3sjt126com
cgcc
在Linux源代码中,有很多的结构体最后都定义了一个元素个数为0个的数组,如/usr/include/linux/if_pppox.h中有这样一个结构体: struct pppoe_tag { __u16 tag_type; __u16 tag_len; &n
- Linux cp 实现强行覆盖
dcj3sjt126com
linux
发现在Fedora 10 /ubutun 里面用cp -fr src dest,即使加了-f也是不能强行覆盖的,这时怎么回事的呢?一两个文件还好说,就输几个yes吧,但是要是n多文件怎么办,那还不输死人呢?下面提供三种解决办法。 方法一
我们输入alias命令,看看系统给cp起了一个什么别名。
[root@localhost ~]# aliasalias cp=’cp -i’a
- Memcached(一)、HelloWorld
frank1234
memcached
一、简介
高性能的架构离不开缓存,分布式缓存中的佼佼者当属memcached,它通过客户端将不同的key hash到不同的memcached服务器中,而获取的时候也到相同的服务器中获取,由于不需要做集群同步,也就省去了集群间同步的开销和延迟,所以它相对于ehcache等缓存来说能更好的支持分布式应用,具有更强的横向伸缩能力。
二、客户端
选择一个memcached客户端,我这里用的是memc
- Search in Rotated Sorted Array II
hcx2013
search
Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given ta
- Spring4新特性——更好的Java泛型操作API
jinnianshilongnian
spring4generic type
Spring4新特性——泛型限定式依赖注入
Spring4新特性——核心容器的其他改进
Spring4新特性——Web开发的增强
Spring4新特性——集成Bean Validation 1.1(JSR-349)到SpringMVC
Spring4新特性——Groovy Bean定义DSL
Spring4新特性——更好的Java泛型操作API
Spring4新
- CentOS安装JDK
liuxingguome
centos
1、行卸载原来的:
[root@localhost opt]# rpm -qa | grep java
tzdata-java-2014g-1.el6.noarch
java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64
java-1.6.0-openjdk-1.6.0.0-11.1.13.4.el6.x86_64
[root@localhost
- 二分搜索专题2-在有序二维数组中搜索一个元素
OpenMind
二维数组算法二分搜索
1,设二维数组p的每行每列都按照下标递增的顺序递增。
用数学语言描述如下:p满足
(1),对任意的x1,x2,y,如果x1<x2,则p(x1,y)<p(x2,y);
(2),对任意的x,y1,y2, 如果y1<y2,则p(x,y1)<p(x,y2);
2,问题:
给定满足1的数组p和一个整数k,求是否存在x0,y0使得p(x0,y0)=k?
3,算法分析:
(
- java 随机数 Math与Random
SaraWon
javaMathRandom
今天需要在程序中产生随机数,知道有两种方法可以使用,但是使用Math和Random的区别还不是特别清楚,看到一篇文章是关于的,觉得写的还挺不错的,原文地址是
http://www.oschina.net/question/157182_45274?sort=default&p=1#answers
产生1到10之间的随机数的两种实现方式:
//Math
Math.roun
- oracle创建表空间
tugn
oracle
create temporary tablespace TXSJ_TEMP
tempfile 'E:\Oracle\oradata\TXSJ_TEMP.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent m
- 使用Java8实现自己的个性化搜索引擎
yangshangchuan
javasuperword搜索引擎java8全文检索
需要对249本软件著作实现句子级别全文检索,这些著作均为PDF文件,不使用现有的框架如lucene,自己实现的方法如下:
1、从PDF文件中提取文本,这里的重点是如何最大可能地还原文本。提取之后的文本,一个句子一行保存为文本文件。
2、将所有文本文件合并为一个单一的文本文件,这样,每一个句子就有一个唯一行号。
3、对每一行文本进行分词,建立倒排表,倒排表的格式为:词=包含该词的总行数N=行号