Angular modifiers in HTML attributes added
ClosedPublic

Authored by zhigalin on Jun 6 2017, 4:50 PM.

Details

Summary

Angular uses special characters in HTML atributes
This disables the error highlighting for []()*# in HTML tag attributes

Test Plan
<div class="field">
  <label *for="title()">Title:</label>
  <input (name)="title">
</div>
<div class="field">
  <label #for="link">Link:</label>
  <input [name]="link">
</div>

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zhigalin created this revision.Jun 6 2017, 4:50 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 6 2017, 4:50 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
zhigalin edited subscribers, added: Kate, KTextEditor; removed: Frameworks.Jun 6 2017, 5:05 PM

Going to commit it tomorrow.
Objections?

Perhaps add Volker, too.
Actually, an extended unit test would be nice. Otherwise I am fine with that.

zhigalin updated this revision to Diff 15322.Jun 10 2017, 11:49 AM

Added test

This revision was automatically updated to reflect the committed changes.

Please also increase the version number, otherwise your update will not get picked up by our scripts on kate-editor.org. Since you already committed this change, please do so in another commit.

data/syntax/html.xml
8

You have to increase the version number to version="5"