atom-language icon indicating copy to clipboard operation
atom-language copied to clipboard

In Strings: Unicode chars + code block + no letters after it break highlighting

Open zoffixznet opened this issue 7 years ago • 0 comments

I'm on 1.15.0 and Unicode + code block in a string mess up highlights

Example Code

# This is fine: no fancy Unicode
my $text = "We have { %ballots.keys }" ~ " ballots submitted by ";

# This is fine: 3+ letters follow the code block:
my $text = " 😍😍😍 We have { %ballots.keys }zzzzz" ~ " ballots submitted by ";

# This breaks highlights: Unicode chars + code block + no letters after it
my $text = " 😍😍😍 We have { %ballots.keys }" ~ " ballots submitted by ";

# highlights are now messed up

Picture [optional]

z

Leave this in. For internal use.

  • [ ] Fixed in Master
  • [ ] Fixed in Release
  • [ ] Has Tests
  • [ ] Passes Tests

zoffixznet avatar May 02 '17 16:05 zoffixznet