MCPcopy Create free account
hub / github.com/cxasm/notepad-- / markAllWord

Method markAllWord

src/findwin.cpp:296–305  ·  view source on GitHub ↗

标记高亮所有word单词

Source from the content-addressed store, hash-verified

294
295//标记高亮所有word单词
296int FindWin::markAllWord(QString & word)
297{
298 ui.markTextBox->setCurrentText(word);
299 ui.findinfilesTab->setCurrentIndex(3);
300 //发现中文在全词匹配下面不能匹配到单词。最好是英文全词匹配,中文不需要
301 //但是好像没有一个现成的方法来判断word中的字符。暂时不做全词匹配
302 ui.markMatchWholeBox->setChecked(false);
303 ui.markMatchCaseBox->setChecked(true);
304 return markAll();
305}
306
307//删除行首尾的空白字符
308void FindWin::removeLineHeadEndBlank(int mode)

Callers 1

slot_wordHighlightMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected