Scott Palmer created NETBEANS-5118: -------------------------------------- Summary: Multiline string literals are highlighted incorrectly when they contain blank lines Key: NETBEANS-5118 URL: https://issues.apache.org/jira/browse/NETBEANS-5118 Project: NetBeans Issue Type: Bug Components: cnd - Editor Affects Versions: 12.2 Environment: Product Version: Apache NetBeans IDE 12.2 Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 Runtime: OpenJDK Runtime Environment 15.0.1+9 System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
Reporter: Scott Palmer Attachments: bad_highlight.png, correct_indent.png According to the spec, (https://openjdk.java.net/jeps/378) blank lines are excluded from "determining lines" when calculating indentation to strip. "Blank lines -- lines that are empty or are composed wholly of white space -- have no visible influence on the indentation." NetBeans highlighting does not do this and highlights extra leading spaces as if they are included in the string when there are blank lines that are completely empty or contain less spaces than the correct indent amount. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists