massCode icon indicating copy to clipboard operation
massCode copied to clipboard

[Bug]: xml comment uncompleted

Open JuniverseCoder opened this issue 4 years ago • 1 comments

Describe the bug

when use xml language, if the comment is uncompleted, the application stuck.

To reproduce

  1. language: xml
  2. code:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- comment1 -->
<!-- comment2 -->
</settings>
  1. delete the arrow in comment1
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- comment1 --
<!-- comment2 -->
</settings>
  1. cant type anything
  2. See error

Version

3.4.0

OS

Windows 10

Validations

JuniverseCoder avatar Aug 28 '22 03:08 JuniverseCoder

Closed because it was in #268

antonreshetov avatar Aug 29 '22 06:08 antonreshetov