Skip to content

Conversation

@haidubogdan
Copy link
Contributor

@haidubogdan haidubogdan commented Dec 3, 2025

This pull request fixes the display for macro values splitted on multiple lines.

I discovered it on the latte jflex file.

image

I also thought that the pipe operator is better displayed under regex the coloring definition.

image

The pull request also adds a template description on the new file wizard form.

image

The solution for exiting the antlr macro value state is to search for a letter or a '%' char when consuming new lines + whitespace tokens.

Pipe operator in jflex rule definitions is marked as regex.

Added template description for jflex.

Unit tests for the coloring lexer updates.
@mbien mbien added the Editor label Dec 4, 2025
@mbien mbien added this to the NB29 milestone Dec 4, 2025
@apache apache locked and limited conversation to collaborators Dec 4, 2025
@mbien mbien added the ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) label Dec 4, 2025
@apache apache unlocked this conversation Dec 4, 2025
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane to me. Thank you.

@matthiasblaesing matthiasblaesing merged commit 3c74da1 into apache:master Dec 6, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Editor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants