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

Multi-line finction definition are not color coded #57

Open
dvdvideo1234 opened this issue Oct 1, 2023 · 2 comments
Open

Multi-line finction definition are not color coded #57

dvdvideo1234 opened this issue Oct 1, 2023 · 2 comments

Comments

@dvdvideo1234
Copy link

Hi,

Consider the following:

  function LaserLib.NewLaser(user       , pos         , ang         , model      ,
                             trandata   , key         , width       , length     ,
                             damage     , material    , dissolveType, startSound ,
                             stopSound  , killSound   , runToggle   , startOn    ,
                             pushForce  , endingEffect, reflectRate , refractRate,
                             forceCenter, frozen      , enOverMater , enSafeBeam , rayColor )

when a closing bracket is placed on the first line we have:
image

@WilliamVenner
Copy link
Owner

WilliamVenner commented Oct 1, 2023

when a closing bracket is placed on the first line we have:

I don't understand, the extra closing bracket creates a syntax error and closes the function definition, it can't colour past that.

@dvdvideo1234
Copy link
Author

The function is not colored in the first case when the syntax is correct, but colored when syntax is incorrect ( below ) only the first line

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

No branches or pull requests

2 participants