-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
if u can add a running apk or upload it to google play so we can try it #1
Comments
Thanks @MahmoudMabrok For now, you can run the example app Later I will add more examples that show how error lines work and cover other features |
@AmrDeveloper good work |
@AmrDeveloper can u add HTML in examples too? 👍 |
@ansh2166 Hello bro, thanks for your suggestion, I will add a full example that will cover most of the syntax of HTML but for now you can start with just 4 patterns and you will get this result private static final Pattern PATTERN_NUMBERS = Pattern.compile("\\b(\\d*[.]?\\d+)\\b");
private static final Pattern PATTERN_STRING = Pattern.compile("\".*\"");
private static final Pattern PATTERN_TAGS = Pattern.compile("<[/]?\\s*(\\w+)[>]?");
private static final Pattern PATTERN_ATTRIBUTE = Pattern.compile("[a-zA-Z]+="); |
I am pretty interested in library, I would love to see search fuctions, it will highlight that specific piece of code and jump to that line |
Hello @ansh2166, The problem of highlighted string content is because the order of the patterns try to change the order of keyword with the string patterns, If it not solved please create one issue with your patterns and code example so we can solve it Please keep the issues separated, so create one issue for each problem with more details so we can discuss each one and track them Thanks |
BTW, can we add custom font? |
You're welcome, I am very happy to see your app, good work |
Sure you can add it easily, remember that CodeView is based on |
Okay, thanks for your cool library |
You're most welcome, enjoy 😄 |
@AddyDevz Yes it looks very cool I will use this font in the example app 😄 Thank you for the suggestion and demo screenshot |
I'm not so pro in regex patterns, is there any possibility to detect css stuff start, more precisely like |
Hello @rudrathedev You can use some regex like You can learn and test your regex again text input easily using this cool website Regex101.com BTW: soon there will be more examples on how to config some other popular languages 😄 |
Perhaps, this can be closed 🤔 |
@ansh2166 We can keep it opened for now because it has a lot of good Q&As |
An app using codeView 😁 |
No description provided.
The text was updated successfully, but these errors were encountered: