Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register comment/uncomment action in editor toolbar for properties and XML files #7223

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@
<attr name="instanceOf" stringvalue="javax.swing.text.EditorKit,org.netbeans.modules.properties.syntax.PropertiesKit"/>
<attr name="beaninfo" boolvalue="false"/>
</file>

<folder name="Toolbars">
<folder name="Default">
<!-- Comment-Entries added based on LanguageRegistrationProcessor#registerCommentUncommentToolbarButtons -->
<file name="Separator-before-comment.instance">
<attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
<attr intvalue="30000" name="position"/>
</file>
<file name="comment">
<attr intvalue="30100" name="position"/>
</file>
<file name="uncomment">
<attr intvalue="30200" name="position"/>
</file>
</folder>
</folder>
</folder>
</folder>
</folder>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
<folder name="xml">
<folder name="Toolbars">
<folder name="Default">
<!-- <attr name="xml-uncomment/XMLSeparator1.instance" boolvalue="true"/>-->
<file name="XMLSeparator1.instance">
<attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
<attr name="position" intvalue="19100"/>
Expand All @@ -136,6 +135,17 @@
<attr name="originalFile" stringvalue="Actions/XML/org-netbeans-modules-xml-tools-actions-ValidateAction.instance"/>
<attr name="position" intvalue="19300"/>
</file>
<!-- Comment-Entries added based on LanguageRegistrationProcessor#registerCommentUncommentToolbarButtons -->
<file name="Separator-before-comment.instance">
<attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
<attr intvalue="30000" name="position"/>
</file>
<file name="comment">
<attr intvalue="30100" name="position"/>
</file>
<file name="uncomment">
<attr intvalue="30200" name="position"/>
</file>
</folder> <!-- Default -->
</folder> <!-- Toolbars -->
</folder> <!-- xml -->
Expand Down
Loading