|
messenger.xul
<vbox id="threadContentArea"> <hbox id="quick-filter-bar-main-bar" align="center" hidden="true"
quickfilterBar.xulquickfilterBar.js
quickfilterManager.js
custom-search-toolbar
mailWindowOverlay.xul <toolbarpalette id="MailToolbarPalette">
extraCustomizeItems.xul
<textbox id="customSearch" class="customSearchType customSearch-1" flex="1"
placeholder="&searchMails.label;"
onupdate="customSearchOnInput();"/>
</toolbaritem>
customizeToolbar.js
customSearch.js
function baseSearch(attribArray, keyword) { tab.folderDisplay.view.search.userTerms = termArray;
textbox.xml
<binding id="custom-searchbox"
d:\svn\Client\ThinkMail_ClientWin_2013\trunk\src\thinkmail\mailnews\base\search\src\nsMsgSearchSession.cpp
NS_IMETHODIMP nsMsgSearchSession::Search(nsIMsgWindow *aWindow)
{
D:\svn\Client\ThinkMail_ClientWin_2013\trunk\src\thinkmail\mailnews\base\src\nsMsgQuickSearchDBView.cpp
nsMsgQuickSearchDBView::OnNewSearch()
{
d:\svn\Client\ThinkMail_ClientWin_2013\trunk\src\thinkmail\mailnews\base\search\src\nsMsgLocalSearch.cpp
nsresult nsMsgSearchOfflineMail::Search (bool *aDone)
{ nsAutoString nullCharset, folderCharset;
GetSearchCharsets(nullCharset, folderCharset);
NS_ConvertUTF16toUTF8 charset(folderCharset); // Is this message a hit?
err = MatchTermsForSearch (msgDBHdr, m_searchTerms, charset.get(), m_scope, m_db, &expressionTree, &match);
// Add search hits to the results list
if (NS_SUCCEEDED(err) && match)
{
AddResultElement (msgDBHdr);
}
}
D:\svn\Client\ThinkMail_ClientWin_2013\trunk\src\thinkmail\mailnews\base\search\src\nsMsgBodyHandler.cpp
D:\svn\Client\ThinkMail_ClientWin_2013\trunk\src\thinkmail\mailnews\base\search\src\nsMsgSearchTerm.cpp
mailnews.view_default_charset
mailnews.force_ascii_search
ISO-8859-1
us-ascii
|
|
|