摘要:
先说说TextRange 的常用方法 collapse([bStart]) 移动Range的插入点 bStart true(移到开头) false(移到末尾) findText(sText [, iSearchScope] [, iFlags]) 在Range中查找sText iSearchScope 开始位置,负数方向搜索 iFlags 2(整词匹配) 4(区别大小写) moveStart(sUnit [, iCount]) moveEnd(sUnit [, iCount]) 移动Range的开头或结尾 sUnit character(字) word(词) sentence(句) texte 阅读全文
posted @ 2010-01-22 16:32
bignjl
阅读(2800)
评论(0)
推荐(0)

浙公网安备 33010602011771号