-
Notifications
You must be signed in to change notification settings - Fork 9
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
feature request: highlight characters in #input text box #3
Comments
Hi, I want this too but I don't know JS enough to implement this is adequate way |
One way to do it would be to use the HTML property https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable I did this once for a project and I found it to be difficult. contenteditable has a lot of quirks. You could mostly avoid JavaScript and also avoid contenteditable if you created a second text box below the first one, that was read only. The server could then generate |
I will see what I can do |
Hello @GitSparTV, can I try to help you implementing this feature? |
@GMOTGIT Contributions are welcome. |
@GitSparTV Thank you, I will take a look at Slate. |
Useful for spotting unescaped characters, spotting unclosed parentheses, etc. In lua's case, it might help the user identify differences between regular regex and lua regex.
Screenshot from a website that does this (https://regex101.com):
Later, could add a hover tooltip giving more info for each color.
The text was updated successfully, but these errors were encountered: