Timocop / BasicPawn

BasicPawn - SourcePawn Editor
GNU General Public License v3.0
75 stars 11 forks source link

Struct (not enum struct) variables are marked with macros colors #44

Closed GAMMACASE closed 5 years ago

GAMMACASE commented 5 years ago

Here's pic of how it looks like: image myinfo here has color of macros defines, but it's just a variable name (Am I right?) of type Plugin which is struct, that struct definition can be found in sourcemod.inc file. So I think that it should have white color like other variable names have(In vs2017 dark theme at least, not sure how it is in other styles).

Timocop commented 5 years ago

Yes youre right. Back in the day i colored public and struct like defines since most people use them for read-only things like initalizing arrays or use them in loops. Since they are colored differently user whould know they are more 'important' than just variables or work like defines. I guess we can change it?

GAMMACASE commented 5 years ago

I guess so, you can't really use that struct other than define it, but it's still a variable, so no need for it to be colored as macros define.

Timocop commented 5 years ago

I made it optional now. Since people requested this feature back. Can be changed in the settings.