coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.46k stars 431 forks source link

Custom made format fails since last update #1619

Closed xq369 closed 6 months ago

xq369 commented 6 months ago

Description

My custom made syntax format was no longer automatically recognised since the latest update. When selected manually, the syntax format was no longer applied.

To Reproduce

  1. Go to (settings / available syntaxes / ... custom made syntax)

Expected behavior

When looking for root causes, it appeared the new update is extremely unforgiving in the way the format is typed. A single typo will cause total rejection of the syntax and it will refuse to upload the format file. Previous versions worked fine.

CotEditor version

4.8.2

macOS version

14.4.1

Additional context

commands/values that contain other characters than abc...ZZ now have to between '' brackets this was not required in previous versions

1024jp commented 6 months ago

Thank you for the report. Could you please share that problematic syntax definition of yours?

CotEditor version 4.8.2

The latest version of CotEditor is still 4.8.0. Is this a typo?

xq369 commented 6 months ago

thanks so much for swift response !



On 20 Apr 2024, at 06:50, 1024jp @.***> wrote:

Thank you for the report. Could you please share that problematic syntax definition of yours?

see attached A original now fails.yml no longer works, while all previous versions it was ok (i made it with the buildin CotEditor yml editor) A.yml is now working - i had to put everything within ' ' - removing the brackets will make it fail (i edited this manually with Cot)

CotEditor version 4.8.2

The latest version of CotEditor is still 4.8.0. Is this a typo?

oh sorry yes, it is 4.8.0

1024jp commented 6 months ago

@xq369 Thank you for sharing! However, it seems that file attachments are not available for the GitHub Issues thread. Could you send them again to coteditor.github@gmail.com ?

xq369 commented 6 months ago



On 20 Apr 2024, at 12:16, 1024jp @.***> wrote:

@xq369 https://github.com/xq369 Thank you for sharing! However, it seems that file attachments are not available for the GitHub Issues thread. Could you send them again to @. @.> ?

— Reply to this email directly, view it on GitHub https://github.com/coteditor/CotEditor/issues/1619#issuecomment-2067628572, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVIP62OS6GCVD5KUSI5PHXTY6I565AVCNFSM6AAAAABGPSFQ2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGYZDQNJXGI. You are receiving this because you were mentioned.

1024jp commented 6 months ago

Thank you for sharing. Thanks to this, I was able to pinpoint the cause. The fix will be shipped with CotEditor 4.8.1 to be released next week.

1024jp commented 6 months ago

CotEditor 4.8.1 was released. Let me know if the issue still exists.