junior-jl wrote:

> I tried this now and I guess it's not correct. For example, if I have a 
> prefix (red color) and no suffix, the text does not go back to normal and 
> will be forever red. Or am I doing something wrong?

![image](https://github.com/llvm/llvm-project/assets/69206952/2ed63ec4-6f5d-4ae8-a7be-f95adba313f5)

The condition is: `if (pattern.empty() || (prefix.empty() && suffix.empty()))`

https://github.com/llvm/llvm-project/pull/69422
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to