From: Eric Le L. <ker...@us...> - 2024-07-19 17:20:32
|
Please provide an example qdoc file. I've tried with the example at https://doc.qt.io/qt-6/05-qdoc-commands-documentstructure.html and I get a StringIndexOutOfBound when parsing it (see attached file). Jedit 5.4.0, Java 11, ubuntu container. Stacktrace: ~~~ [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: java.lang.StringIndexOutOfBoundsException: begin 12, end 9, length 30 [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at java.base/java.lang.String.substring(String.java:1874) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at sidekick.qdoc.QdocSideKickParser.parse(QdocSideKickParser.java:121) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at sidekick.SideKick$ParseRequestWorker.doInBackground(SideKick.java:550) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at sidekick.SideKick$ParseRequestWorker.doInBackground(SideKick.java:526) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [java] 5:17:29 PM [SwingWorker-pool-1-thread-3] [error] SwingWorker-pool-1-thread-3: at java.base/java.lang.Thread.run(Thread.java:829) ~~~ Attachments: - [test.qdoc](https://sourceforge.net/p/jedit/plugin-central-submission/_discuss/thread/91564096d0/32e2/attachment/test.qdoc) (850 Bytes; application/octet-stream) --- **[plugin-central-submission:#1082] QDocSidekick** **Status:** pending **Group:** None **Created:** Wed May 22, 2024 03:17 AM UTC by Dale Anson **Last Updated:** Fri Jul 19, 2024 04:58 PM UTC **Owner:** Eric Le Lay {{{ QDoc 1.0 Source: Source code is in SVN with the tag 1.0 Announcement: Initial release. Brand new plugin for working with QDoc files https://doc.qt.io/qt-6/01-qdoc-manual.html.. While the manual says "QDoc finds QDoc comments in .cpp files and in .qdoc files", this QDoc plugin only works with .qdoc files. Requires Java 11 Requires jEdit 05.04.00.00 Short Description: QDoc SideKick Long Description: <html> <p>SideKick for QDoc files</p> </html> }}} --- Sent from sourceforge.net because jed...@li... is subscribed to https://sourceforge.net/p/jedit/plugin-central-submission/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/plugin-central-submission/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |