-
Notifications
You must be signed in to change notification settings - Fork 67
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
Batch Syntax "keyword" + ":" => "keyword:" dont work properly #222
Comments
Not aware of any issue with labels in quotes and I cannot consider why a label would be highlighted in quotes. So I have not done anything about it and not sure if I want to do more than necessary. |
The correction is perfect. |
Why is this patch styling |
@GabrielFrigo4 Keywords may look good. What follows the keywords is questionable. Thanks for the reply to clarify NOTE1. @nyamatongwe
I'll try the other way of striving for default styling for label and see what can come up with. Might take alittle while as I have some other matters to attend to first. I may need to allocate more time into the other way as it might need more attention to correct the styling. Test Gtihub styling:call file.bat
call "file.bat"
call :label
goto :label
goto label
echo: %var%
echo: text
echo text
(goto) and for those who cannot locate the spacebar: call:label
goto:label
echo:%var%
echo:text and to consider that colon is not needed for gotolabel Seems worse with |
Version 2. This might be less colourful for labels, though the keywords are fixed. IMO it is more technically correct.
Perhaps thoughts are I gone too much the other way. Consider that people claim that a called label is a function or subroutine. CMD with |
In the .bat file, when I add a colon ":" right after a keyword => "keyword:', that keyword loses its highlighting, which was not supposed to happen. Furthermore, when I have a word before a function ":function_name" => "word :function_name", the function also loses its highlighting, and that was not expected behavior either
NOTE1: When a ":function_name" appears in the code between double quotes, it is not highlighted, which is the expected behavior.
NOTE2: I know that notepad++ != Lexilla. However, notepad++ uses Lexilla, so to fix this behavior in notepad++ you have to fix it in Lexilla
The text was updated successfully, but these errors were encountered: