
Wednesday November 15, 2006
Incremental Search Toolbar module uploaded
OBSOLETE
The tool bar based variant of the Incremental Search module is now obsolete. Use the sidebar based version.
I have uploaded the Incremental Search Toolbar module to my Netbeans update center described here.
This module installs the Incremental Search Toolbar.

Typing Ctrl+/ puts the focus in the incremental search text field in the Incremental Search Toolbar. If there was text in the incremental search text field, it is preselected. You can start typing the text to search and the matching text will be highlighted in the current editor. The search text is shown in red color when no matching text is found. Typing ENTER or Ctrl+/ again, finds the next match. Typing Shift+ENTER finds the previous match. Typing ESCAPE puts the focus back in current editor. The Find Next and Find Previous do what they imply.The Search Backwards check box searches the text in backward direction. The Match Case check box controls whether the case of text is considered while searching.
Sources
DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.
Posted by sandipchitale
( Nov 15 2006, 06:08:44 AM PST ) Permalink
Trackback URL: http://blogs.sun.com/scblog/entry/incremental_search_toolbar_module_uploaded
Posted by Tarun Elankath on November 16, 2006 at 11:43 AM PST #
Posted by Thomas Boerkel on November 17, 2006 at 12:40 AM PST #
Thanks for the feedback.
Posted by Sandip on November 17, 2006 at 06:08 AM PST #
Posted by Sandip on November 17, 2006 at 06:30 AM PST #
Posted by Matthew Casebeer on November 21, 2006 at 06:45 AM PST #
Actually I did not know that SDI mode is still supported in Netbeans 5.5. Can you please tell me how can I configure the IDE in SDI mode so that I can test my fix.
Posted by Sandip on November 21, 2006 at 08:55 AM PST #
Posted by Johnny Tolliver on November 21, 2006 at 12:43 PM PST #
Posted by Sandip on November 21, 2006 at 01:58 PM PST #
About layout, the problem is with the layout manager (I think it is BoxLayout) used for the panel that contains toolbars. If you make the incremental search toolbar the non-last toolbar the layout problems will be fixed. I tried to position the toolbar but that did not work. I need to look into it.
Posted by Sandip on November 21, 2006 at 02:01 PM PST #
Posted by Vladimir Voskresensky on November 22, 2006 at 02:11 AM PST #
I can understand your request as the toolbar may be starting to get crowded :(
To implement something that you want, may need some kind of mode in the editor. I don't that is easy to do for all editors. Also it may be hard to know if one has made a mistake in typing the incremental search text and correct it if it is not visible anywhere.
I have not seen the vi and Visual Studio functionality but in case of emacs the incremental search text is shown in the mini buffer. This mini buffer also has it's own key map.
Posted by Sandip on November 22, 2006 at 06:37 PM PST #
Posted by Vladimir Voskresensky on November 22, 2006 at 07:15 PM PST #
Posted by Sandip on November 22, 2006 at 11:49 PM PST #
Posted by Vladimir Voskresensky on November 23, 2006 at 11:04 AM PST #
Posted by Sandip on November 25, 2006 at 04:55 PM PST #