sdasda7777
sdasda7777
Ah, I see, my bad, thanks!
I don't know anything about Zig syntax, but you can define your custom language and its highlighting using `Language` > `User Defined Language` > `Define your language`. If you have...
As brought up on the [Community forum](https://community.notepad-plus-plus.org/topic/25509/function-list-regex-debugging/16 ), there seems to exist a commercial regex tool which supports debugging with/for Boost's regex engine. However I think that may as well...
I modified the XML loading to do what is necessary for this to work. I suspect now I just need to slightly modify `Document::FindText` in `scintilla/src/Document.cxx` to use different regex...
That sounds unnecessarily complicated, if I'm honest. N++ already recognizes Rust functions with other keywords, such as `async`, `const` and `unsafe`. I think the lexer at https://github.com/notepad-plus-plus/notepad-plus-plus/blob/250dfe0f8b2fabbb09242696c08e1c3b451c1fbe/PowerEditor/installer/functionList/rust.xml#L24-L29 is just missing...
Someone better double-check it, but I think this works: ```other (?-i: async | const | (?-i:extern\s+(?s:\x22(?:[^\x22\x5C]|\x5C.)*\x22)) | (?-i:pub\s*(\((crate|super|(in\s+[a-zA-Z0-9_]+))\))?) | unsafe ) ``` 
Oh, but it would be nice if it showed the impls and stuff like for Java it shows classes, for example 🤔 I think I'll look into that 😄 
Okay, that was incredibly annoying, but I think I got it, save for one bug I can't seem to fix: ```xml ``` For the following code: ```rust async fn func_private()...
@chcg Is there a good way to debug the regexes directly in Notepad++? I tried rewriting the regex, but now it doesn't work at all, while still working with both...
I rewrote the `impl` regex again. Now it's much simpler, but only works with PCRE2, not with PCRE or Notepad++. As always, if you have any hints, do tell: ```regex...