CudaText: Lite lexer is broken (1.126.4 -> 1.127)
I have created a simple lite lexer for text files which so far has worked well. Now it’s broken, for instance the numbers are highlighted only v haphazardly.
{
"about": "htxt",
"files": "*.htxt;*.txt",
"case_sens": true,
"rules": {
"keyword": {
"regex": "^\\..+?\\b",
"style": "IdKeyword"
},
"num": {
"regex": "\\b(\\d+(\\.\\d+)?([eE][-\\+]?\\d+)?)\\b",
"style": "Number"
},
}
}
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (10 by maintainers)
Commits related to this issue
- for https://github.com/Alexey-T/CudaText/issues/3255 — committed to Alexey-T/ATSynEdit by Alexey-T 3 years ago
- for https://github.com/Alexey-T/CudaText/issues/3255 — committed to Alexey-T/ATSynEdit_Ex by Alexey-T 3 years ago
- for https://github.com/Alexey-T/CudaText/issues/3255 — committed to Alexey-T/ATSynEdit_Ex by Alexey-T 3 years ago
it was a regression (reason: minimap in thread). updated release to 1.129.4.2. seems OK.
https://user-images.githubusercontent.com/4154978/111876003-b42b0d80-89ad-11eb-9b1a-2ed7142d7ede.mp4
https://user-images.githubusercontent.com/66019404/111871936-97c6ab00-8984-11eb-8c10-3141411290f9.mp4