Skip to content
New issue

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

Syntax Highlighting on Generics Page is Broken By Keyword #891

Open
dm-at-ada opened this issue May 31, 2023 · 1 comment
Open

Syntax Highlighting on Generics Page is Broken By Keyword #891

dm-at-ada opened this issue May 31, 2023 · 1 comment

Comments

@dm-at-ada
Copy link
Contributor

Starting in "Example: Swap" (in the "Generics" chapter of "Intro to Ada"), there is reference, in text, to a procedure titled Generic_Swap. This procedure is not highlighted with orange text (as is typical of code references). It is highlighted with green AND orange text. The Generic_ portion of the procedure is green, the Swap portion is orange. Since green text is typically used for keywords, it seems like the interpreter thinks Generic_ should be highlighted as a keyword.

REF: Generics file

@dm-at-ada
Copy link
Contributor Author

dm-at-ada commented Jun 1, 2023

This also occurs in the "Exceptions" chapter for the Tasking_Error exception description (Task is green text, ing_Error is orange), likely because "Task" is a keyword.

REF: Learn.adacore link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants