Find/Replace disabled in text editor after upgrade from 7.1 to 8.0.2
"peter.en" <[email protected]> Fri, 14 Apr 2017 18:44:55 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
...I found what was the problem. I thought that the "find in text action" was implemented by org.openide.actions.FindAction, well no...after a hard debug, I found that the responsible action is org.netbeans.modules.editor.search.actions.SearchAction. This action is contained in the module org-netbeans-modules-editor-search as org.netbeans.modules.editor.search.actions.SearchAction My Rcp Application was missing this dependency, so adding it to my application, solved the problem. Another useful aspect about this, is that this dependency will solve the problem only for the editors registered within the plaform. To make it work for any text file kind (some log file for instance found in your project) there is good to have org-netbeans-modules-editor-plain dependency included in your application. It allows to open any kind of text file in the decorated netbeans editor and it enables the actions Find/Replace.