Skip to content

Commit

Permalink
Register comment/uncomment action in editor toolbar for properties an…
Browse files Browse the repository at this point in the history
…d XML files

Closes: #7207
  • Loading branch information
matthiasblaesing committed Apr 1, 2024
1 parent 905ff7e commit 214f39a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
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

0 comments on commit 214f39a

Please sign in to comment.