This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Minor improvements for search and replacebar | ||
---|---|---|---|
Product: | editor | Reporter: | Milutin Kristofic <mkristofic> |
Component: | Search | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PLAN |
Priority: | P2 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Milutin Kristofic
2012-01-17 12:38:56 UTC
- Replace Tab FocusTravelPolicy - just cycle between textfields - Alt+u - new shortcut for wrap around since it had same as replace all - Always caret in search textfield when replacebar is opened http://hg.netbeans.org/jet-main/rev/d8f83bb766bc - Fixed expand popup menu in ubuntu dark gtk laf since it was not readable - Refactor SearchBar & Replacebar, DRY, delete duplicated code http://hg.netbeans.org/jet-main/rev/0822ccf209b5 - selectall when textfield (find what, replace with) gets focus - after tab, mouse click http://hg.netbeans.org/jet-main/rev/c75104cb2cb7 Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/d8f83bb766bc User: Milutin Kristofic <mkristofic@netbeans.org> Log: #207387 - Minor improvements for search and replacebar #1 There is a plan to do : - save search history so it will remain after restart - choosing a word from search history will setup regexp, matchcase, ... as there were in previous word - useful for regexp expressions - Ctrl+F3 will open searchbar but remain focus in editor. They will be bounded together. - Number of search instances in document will be shown in searchbar Integrated into 'main-golden', will be available in build *201201250600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0822ccf209b5 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #207387 - Minor improvements for search and replacebar #2 Hello Any chance those minor improvements will land in something like 7.1.1? Or any soon update? Especially regression fix for focusing search field: http://hg.netbeans.org/jet-main/raw-diff/d8f83bb766bc/editor/src/org/netbeans/modules/editor/impl/ReplaceBar.java @@ -657,12 +658,7 @@ setVisible(true); } searchBar.gainFocus(); - - if (searchBar.getIncSearchTextField().getText().isEmpty()) { - searchBar.getIncSearchTextField().requestFocusInWindow(); - } else { - replaceTextField.requestFocusInWindow(); - } + searchBar.getIncSearchTextField().requestFocusInWindow(); } boolean hadFocusOnTextField() { This is really annoying and really dangerous as one can mistakenly replace code instead of searching it. http://forums.netbeans.org/post-123033.html#123033 http://forums.netbeans.org/topic45834.html p.s. Sorry if this isn't appropriate place to ask for this Integrated into 'releases', will be available in build *201202082200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/088baa9ce553 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #207387 - Minor improvements for search and replacebar #1 This enhencement was fixed: http://netbeans.org/bugzilla/show_bug.cgi?id=208199 - save search history so it will remain after restart - choosing a word from search history will select regexp as there were in previous search - useful for regexp expressions - Escaping popup for jcombobox is not closing whole find bar - Joining searchbar history with find in files history Is this still planned or should be closed? |