Difference between revisions of "FindThisPage"

From CDOT Wiki
Jump to: navigation, search
Line 15: Line 15:
 
* Found browser.js which contained browser.find
 
* Found browser.js which contained browser.find
 
* Backtracked Did a search to find what happens when 'Ctrl + F' is pressed
 
* 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.

Revision as of 11:59, 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.