ajaxorg/ace

XML Syntax Error Indication on a Wrong Line

Open

#3,479 opened on 2017年12月11日

GitHub で見る
 (9 comments) (0 reactions) (0 assignees)JavaScript (26,357 stars) (5,252 forks)batch import
bugeffort/smallgood first issuep2

説明

Tested Browsers / Devices

Windows 10

  • FAIL:
    • Chrome 63.0.3239.84
    • Edge 41.16299.15.0
    • IE 11
    • Firefox 57.0.1
  • OK: n/a

URL Minimal Example

https://ace.c9.io/build/kitchen-sink.html?doc=XML

Steps to Reproduce the Problem

  1. Open an XML document to edit
  2. Optional: If it's not already the case, separate a single-lined XML tag into multiple LOC
  3. Add a syntax error intentionally e.g. a character right after an attribute value: "..."s.

What Is the Expected Result?

ace editor xml expected error indication placement The error / warning indication is on the same line as where the error actually placed.

What Happens Instead?

ace editor xml wrong error indication placement

Any other information?

Even with an XML tag which has all the attributes in a single line, the indication is placed somewhere else which is weird. ace editor xml wrong error indication placement even with a single line I had a case where I made such a syntax error and didn't know where it was until I had to scroll down.

コントリビューターガイド