Difference between revisions of "FindThisPage"

From CDOT Wiki
Jump to: navigation, search
 
Line 17: Line 17:
 
* Found Entity 'findNextCmd'
 
* Found Entity 'findNextCmd'
 
* Found command 'Browser:FindAgain'
 
* Found command 'Browser:FindAgain'
* Searched for FindAgain and turned up [http://lxr.mozilla.org/seamonkey/source/toolkit/content/findUtils.js findUtils.js] where the find command is executed.
+
* Searched for FindAgain and turned up [http://lxr.mozilla.org/seamonkey/source/toolkit/content/findUtils.js#96 findUtils.js] where the find command is executed.

Latest revision as of 13:01, 29 September 2006

Paul St-Denis, Jeff Mossop

  • Go to LXR
  • Access SeaMonkey
  • Search for the label 'Find in This Page...'
  • Found entity called 'findOnCmd.label'
  • Do a search on 'findOnCmd.label'
  • Found menuitem id 'menu_find'
  • Do a search on 'menu_find'
  • Found command 'Browser:Find'
  • Do a search on 'Browser:Find'
  • Found that '/suite/browser/navigatorOverlay.xul' is where the find bar is defined.
  • Did search for the Find command itself inside browser
  • Found nsWebBrowser.cpp line number 579 which returns mDocShellAsItem
  • Backtracked to 'Browser:Find'
  • Found browser.js which contained browser.find
  • Backtracked Did a search to find what happens when 'Ctrl + F' is pressed
  • Found Entity 'findNextCmd'
  • Found command 'Browser:FindAgain'
  • Searched for FindAgain and turned up findUtils.js where the find command is executed.