[jedit:plugin-central-submission] #1082 QDocSidekick

Eric Le Lay via jEdit-devel <[email protected]> Sat, 20 Jul 2024 14:54:26 -0000
Newsgroups gmane.editors.jedit.devel
Message-ID </p/jedit/plugin-central-submission/1082/25abae0421650fe5a8e550142f04e7ceb7522030.plugin-central-submission@jedit.p.sourceforge.net>
Thanks Dale for the fixes. Indeed the example was already there and it is well parsed.
I was able to build the plugin and can release as is, but could you consider including this fix so indented `\section1` works?

Example:

~~~
/*!
    \section1 Basic Qt

    This is the first section.


        \section2 Getting Started

        This is the first subsection.


            \section3 Hello Qt

            This is the first subsubsection.


            \section3 Making Connections

            This is the second subsubsection.


            \section3 Using the Reference Documentation

            This is the third subsubsection.


        \section2 Creating Dialogs

        This is the second subsection.


            \section3 Subclassing QDialog

            This is the first subsubsection.

            ...


    \section1 Intermediate Qt

    This is the second section.


        \section2 Layout Management

        This is the second section's first subsection.


            \section3 Basic Layouts

            This is the first subsubsection.

        ...
*/

~~~

In QDocSideKickParser.java, line 121
~~~
-                    String section = lineText.substring(index, length);
+                    String section = lineText.substring(index, index + length);
~~~

Thanks,


---

**[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 08:54 PM UTC
**Owner:** Eric Le Lay


{{{ QDocSideKick 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 QDocSideKick plugin only works with .qdoc files.
    Requires Java 11
    Requires jEdit 05.04.00.00
    
    Short Description: QDocSideKick
    
    Long Description: <html>
   <p>SideKick for QDoc files</p>
</html>
 }}}


---

Sent from sourceforge.net because [email protected] 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.

-- 
-----------------------------------------------
jEdit Developers' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-devel