Skip to content

Commit 62514bd

Browse files
committed
properties parsing updated
1 parent 0764ba5 commit 62514bd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

enterprise/web.el/src/org/netbeans/modules/web/el/ResourceBundles.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ public List<Location> getLocationsForBundleKey(ResolverContext context, String i
244244
continue;
245245
}
246246
text = text.trim();
247-
if (text.startsWith(key + "=") || text.startsWith(key + " =")) { //NOI18N
247+
if (text.startsWith(key + "=") || text.startsWith(key + " =")
248+
|| text.startsWith(key + ":") || text.startsWith(key + " :")) {
248249
try {
249250
StyledDocument document = ec.getDocument();
250251
int offset = document.getText(0, document.getLength()).indexOf(line.getText());

0 commit comments

Comments
 (0)