I managed to get everything working, the textual diff generation, and the find/replace, minus the read only buffer portion..which is ok for now. I might just want to edit later anyway.
It took trial and error going through an Ant version of the project with the library picker and finding which libraries I needed to include in the Maven version. One thing that’s cool about the library picker is it tells you “Such and such module requires… XYZ” and you can have it import it. I also had to search through the Netbeans source code for some library references that were needed by other dependency libs so I could find which Maven dependencies to import. I also had to exclude the JMS/JMX libraries which were needed by a LOG4J inclusion from one of the modules. Anyway, if anyone is interested in the POM file for reference let me know and I’ll post it here or on a GitHub. Thanks, - Tim > On Sep 28, 2021, at 7:16 AM, Tim Mullé <tmu...@gmail.com> wrote: > > Thanks for the idea. > > 1. How might I disable the saving of a file buffer? > > 2. My find/replace actions aren’t enabled when I click into the json or xml > editors. I am trying to learn how to enable them. > > 3. Do you know anything about the textual diff tab I mentioned? It is empty > and only the graphical tabs seems to be working. > > Thanks. > > >> On Sep 27, 2021, at 7:41 PM, Mark A. Flacy <mfl...@verizon.net.invalid> >> wrote: >> >> Greetings, >> >> Consider disabling the ability to save a given file buffer; the >> Find/Replace >> tools will find and replace things, but if you cannot save the result then >> that file buffer is essentially read-only. >> >> -- >> Mark A. Flacy >> mfl...@verizon.net >> >>> On Monday, September 27, 2021 4:44:17 PM CDT Tim Mullé wrote: >>> Hi, >>> >>> I’ve managed to get the XML and JSON editors in my Maven netbeans platform >>> and they appear to be working properly, except the Find/Replace options. >>> >>> Those menu options and keyboard shortcuts are disabled. >>> >>> I think I’ve included all the editor files and action jars for the XML and >>> JSON editors but am still missing something. >>> >>> Does anyone know what libraries I need to turn those features on? >>> >>> Also, is there a way to make the editors READ-ONLY but still keep the >>> Find/Replace functionality? I know the replace doesn’t make sense but >>> essentially I just want to reuse what NetBeans gives us and just use the >>> editors a file viewers and get the line numbers, highlighting, and folding >>> support, etc. >>> >>> Also, I also have the Diff feature working so I can see the Diffs between >>> files..thanks to the NetBeans support brought in from the Diff apis. >>> >>> But, my Textual tab isn’t being populated..only the Graphical. >>> >>> When I look at the Diff feature in the real IDE I see both tabs working..so >>> I am missing something. >>> >>> Any ideas how to get the Textual Diff tab to populate? >>> >>> Thanks.. >>> - Tim >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >>> For additional commands, e-mail: users-h...@netbeans.apache.org >>> >>> For further information about the NetBeans mailing lists, visit: >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >> For additional commands, e-mail: users-h...@netbeans.apache.org >> >> For further information about the NetBeans mailing lists, visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists