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

Single quoted strings can break syntax highlighting (erlang) #4005

Open
GregoryMorse opened this issue Dec 14, 2017 · 1 comment
Open

Single quoted strings can break syntax highlighting (erlang) #4005

GregoryMorse opened this issue Dec 14, 2017 · 1 comment
Labels
scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes

Comments

@GregoryMorse
Copy link

Description of the Issue

Everything turns gray after snippet is included in .erl file. It seems syntax such as recv_eval:'receive' is causing the error.

Steps to Reproduce the Issue

  1. Paste the following:
    'receive'(Fr) ->
    {ok, recv_eval, CplBin} = compile:forms({recv_eval}, [binary, from_asm]),
    code:load_binary(recv_eval, [], CplBin), Result = recv_eval:'receive' (Fr), code:delete(recv_eval), code:purge(recv_eval), Result.

'receive'(Fr, infinity, _) -> 'receive'(Fr);
'receive'(Fr, A, Fa) ->
{ok, recv_eval, CplBin} = compile:forms({recv_eval}, [binary, from_asm]),
code:load_binary(recv_eval, [], CplBin), Result = recv_eval:'receive' (Fr, A, Fa), code:delete(recv_eval), code:purge(recv_eval), Result.

Expected Behavior

Highlighting should be okay here as this is valid syntax.

Actual Behavior

Bad highlighting after snippet.

Debug Information

@ArkadiuszMichalski
Copy link
Contributor

ArkadiuszMichalski commented Oct 1, 2020

@ArkadiuszMichalski ArkadiuszMichalski added the scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes label Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes
Projects
None yet
Development

No branches or pull requests

2 participants