- 
                Notifications
    
You must be signed in to change notification settings  - Fork 74
 
Improve handling of compound identifiers in Progress ABL #316
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
base: master
Are you sure you want to change the base?
Conversation
| 
           Using punctuation for scope like  It will be more difficult to allow for these preferences in the future if the possibility is not addressed now. 
  | 
    
| 
           I will change  I understand your point about flexibility. The ABL language is quite wordy and the lexer wouldn't be able to recognize that  
  | 
    
Undo Include path change
| 
           I misunderstood what this does initially. The description said 
 but that isn't what this does as illustrated by the styled examples like  The 'single unit' description would be better matched by  The PR code matches a 'primary' identifier and period  If primary/qualifiers does match how you see the ABL language then it may need a different style name to be more explicit about what it means. If 'qualifiers' is used then the '.' could be part of that instead of the primary identifier.  | 
    
| 
           Additional style values should be added to   | 
    
…d of only applying this style starting at the second component of the identifier
…to compound-id-fix "Style entire compound identifier as SCE_ABL_IDENTIFIERCOMPOUND instead of only applying this style starting at the second component of the identifier"
…ENTIFIERCOMPUND is a temporary state
| 
           I believe that I've resolved all of the issues you raised. All identifiers, whether single or compound are now styled as SCE_ABL_IDENTIFIER. I apologize for the multiple commits. Thank you for the thoughtful review and suggestions for improvements.  | 
    
| 
           The newer version makes  If   | 
    
| 
           
  | 
    
…DENTIFIER. SCE_ABL_SCE_ABL_IDENTIFIERCOMPOUND is a temporary state, invisible to users.
Add a new style for compound identifiers in the Progress ABL lexer. A compound identifier is of the form "identifier.identifier[.identifier ...]". A compound identifier should be styled as a single unit rather than as multiple separate identifiers.
Some examples are:
Progress.Lang.Object
System.Windows.Forms.*
_user._user-id