You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ne...@apache.org on 2019/09/18 15:21:20 UTC
[netbeans] branch master updated: [NETBEANS-3097]:Corrected
font-color type name for text-block(JDK-13) (#1509)
This is an automated email from the ASF dual-hosted git repository.
neilcsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 7bd73c9 [NETBEANS-3097]:Corrected font-color type name for text-block(JDK-13) (#1509)
7bd73c9 is described below
commit 7bd73c9865d222144d2ff0552296cfd05d396254
Author: Arunava Sinha <ar...@oracle.com>
AuthorDate: Wed Sep 18 20:51:15 2019 +0530
[NETBEANS-3097]:Corrected font-color type name for text-block(JDK-13) (#1509)
* [NETBEANS-3097]:Corrected font-color type name for text-block(JDK-13)
* [NETBEANS-3097]:Changing display name of font-color type for text-block(JDK-13)
---
.../src/org/netbeans/modules/java/editor/resources/Bundle.properties | 1 +
.../src/org/netbeans/modules/java/editor/resources/fontsColors.xml | 2 +-
.../src/org/netbeans/modules/java/editor/semantic/ColoringManager.java | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/java/java.editor/src/org/netbeans/modules/java/editor/resources/Bundle.properties b/java/java.editor/src/org/netbeans/modules/java/editor/resources/Bundle.properties
index d36fb20..82425de 100644
--- a/java/java.editor/src/org/netbeans/modules/java/editor/resources/Bundle.properties
+++ b/java/java.editor/src/org/netbeans/modules/java/editor/resources/Bundle.properties
@@ -76,6 +76,7 @@ mod-class-declaration=Class Declaration
mod-interface-declaration=Interface Declaration
mod-annotation-type-declaration=Annotation Declaration
mod-enum-declaration=Enum Declaration
+mod-unindented-text-block=Text Block
# Code Templates
CT_iff=if (<b>exp</b>) { ...| }
diff --git a/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml b/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml
index 4f9c647..668ecb7 100644
--- a/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml
+++ b/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml
@@ -87,7 +87,7 @@
<fontcolor name="mod-protected" />
<fontcolor name="mod-public" />
<fontcolor name="mod-keyword" default="keyword" />
- <fontcolor name="text-block" bgColor="EEDDDD" />
+ <fontcolor name="mod-unindented-text-block" bgColor="EEDDDD" />
<!--currently not used:-->
<!-- <fontcolor name="mod-type-parameter-declaration" bgColor="lightGray"/>
diff --git a/java/java.editor/src/org/netbeans/modules/java/editor/semantic/ColoringManager.java b/java/java.editor/src/org/netbeans/modules/java/editor/semantic/ColoringManager.java
index 335c67e..d5ec0cf 100644
--- a/java/java.editor/src/org/netbeans/modules/java/editor/semantic/ColoringManager.java
+++ b/java/java.editor/src/org/netbeans/modules/java/editor/semantic/ColoringManager.java
@@ -85,7 +85,7 @@ public final class ColoringManager {
put("mod-unused", UNUSED);
put("mod-keyword", KEYWORD);
put("javadoc-identifier", JAVADOC_IDENTIFIER);
- put("text-block", UNINDENTED_TEXT_BLOCK);
+ put("mod-unindented-text-block", UNINDENTED_TEXT_BLOCK);
}
private static void put(String coloring, ColoringAttributes... attributes) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists