Skip to content

classes.enumeration: added 'see' support to enum member words#3147

Open
LeoMehraban wants to merge 2 commits intofactor:masterfrom
LeoMehraban:enum-change
Open

classes.enumeration: added 'see' support to enum member words#3147
LeoMehraban wants to merge 2 commits intofactor:masterfrom
LeoMehraban:enum-change

Conversation

@LeoMehraban
Copy link
Copy Markdown
Contributor

Previously,

IN: scratchpad ENUMERATION: test a b ;
IN: scratchpad \ test.a see

would produce

IN: scratchpad 
CONSTANT: test.a 0 inline

which is not how test.a is defined.

now, it produces

USING: classes.enumeration ;
IN: scratchpad
ENUMERATION: test { a 0 } ;

which shows how test.a is defined, while still highlighting it.
If you ran \ test.b see instead, you now get

USING: classes.enumeration ;
IN: scratchpad
ENUMERATION: test { b 1 } ;

@LeoMehraban
Copy link
Copy Markdown
Contributor Author

Just making sure you saw this

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

Successfully merging this pull request may close these issues.

1 participant