10000 bugfix: put tokenmakers in hashmap with the correct name by haesleinhuepf · Pull Request #45 · scijava/script-editor · GitHub
[go: up one dir, main page]

Skip to content

bugfix: put tokenmakers in hashmap with the correct name #45

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

Merged
merged 1 commit into from
Mar 1, 2022

Conversation

haesleinhuepf
Copy link
Member

Hi all,

I just found that bug which is related to naming of TokenMakers. Assume you have a new scripting language, e.g. called "Te Oki" which comes with a TokenMaker marked as SciJava plugin having the name "Te Oki". It will be put in the hashmap of the token maker factory with key "text/Te Oki" link

Later, when the user selectes that scipting language, the editor searches for a map entry named "text/te-oki" but not "text/Te Oki". link

I assume there is some kind of standard that these map entries shouldn't have spaces or upper case characters. Thus, I'm suggesting this bugfix.

Let me know if I can help with anything.

Cheers,
Robert

@tferr tferr merged commit ca4580e into master Mar 1, 2022
@imagejan imagejan deleted the bugfix_naming_tokenmakers branch June 28, 2022 09:30
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.

2 participants
0