8000 (question) Is there a component for regex highlighting? · Issue #197 · SynEdit/SynEdit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

(question) Is there a component for regex highlighting? #197

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

Open
Dimon-II opened this issue Nov 29, 2022 · 0 comments
754C Open

(question) Is there a component for regex highlighting? #197

Dimon-II opened this issue Nov 29, 2022 · 0 comments

Comments

@Dimon-II
Copy link

In my program Decard, a list of replacements is configured to convert custom macros to XML (SVG).
XML syntax is highlighted, and regular expressions are already quite difficult to understand, I would like to simplify their input with highlighting, as is implemented on the regex debugging sites.

That's what I want to highlight:
image

Replace using samples:
dotted(([0-9%]),([0-9]),(['"]+)(.+?)\3)=$<html left="0" align="center" font-size="45" width="\1" height="\2" line-height="80%"><bkg outline="6" stroke-dasharray="5 5" fill="url(#MainColor)" fill-opacity="0.3" stroke-opacity="1" stroke="url(#MainColor)" stroke-width="2" rx="40"/><font filter="url(#fltShadow)">\4</font></html>

\n -+- \n dotted(160,70,'-1(move) : (Air)')
image

frame(([0-9%]),([0-9]),(['"]+)(.+?)\3,([-0-9]*))=$<html dy="\5" align="center" font-size="45" width="\1" height="\2" left="35" rigth="-5" line-height="80%"><bkg patch="#frm!"/>\4</html>

frame(200,80,'(Ice)(Air)')
image

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

No branches or pull requests

1 participant
0