ajaxorg/ace

XML Syntax Error Indication on a Wrong Line

オープン

#3,479 opened on 2017/12/11

 (11 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (5,252 件のフォーク)batch import
bugeffort/smallgood first issuep2

Repository metrics

Stars
 (26,357 個のスター)
PR merge metrics
 (平均マージ 29d 17h) (30d で 4 merged PRs)

説明

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.

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