We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty single-line comments (//) followed by newline are colored differently from comments that have text.
//
Empty // comments should be colored the same as other comments.
Lines with empty // comments are (incorrectly) colored in purple:
// // Filename.swift // Description // // Created by Author on 05/13/2022. // Copyright © 2014-2023 Company. All rights reserved. // import Foundation import AppKit
Adding a space after // fixes the syntax coloring of an empty line.
No response
ACE 1.3.1 / Google Chrome / macOS Ventura 13.3.1 (a), M1 Mac, English (U.S.)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Empty single-line comments (
//
) followed by newline are colored differently from comments that have text.Expected Behavior
Empty
//
comments should be colored the same as other comments.Current Behavior
Lines with empty
![image](https://private-user-images.githubusercontent.com/3234792/240920996-24470286-cb67-4067-9499-ca20ec755285.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0MzY1MzEsIm5iZiI6MTcyMDQzNjIzMSwicGF0aCI6Ii8zMjM0NzkyLzI0MDkyMDk5Ni0yNDQ3MDI4Ni1jYjY3LTQwNjctOTQ5OS1jYTIwZWM3NTUyODUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDhUMTA1NzExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWM3NDIzMWIyNjliMzg1NjA4M2ViODEzYzEwNGNhMTY3NTBkYmNkNzNlNWM5NTA5ZDk1NTM0NjYzMWVlMGQ3ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.JLQjnqTILv_MaiSS_2bPl92YzU74ULcROCdDFiE0ADQ)
//
comments are (incorrectly) colored in purple:Reproduction Steps
Possible Solution
Adding a space after
//
fixes the syntax coloring of an empty line.Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
ACE 1.3.1 / Google Chrome / macOS Ventura 13.3.1 (a), M1 Mac, English (U.S.)
The text was updated successfully, but these errors were encountered: