Skip to content

Multi-line error message when validating regex in search #130

@fedejeanne

Description

@fedejeanne

Problem

Some important information is lost when the error message of the regex validation of the search is done, namely the offending character.

After applying eclipse-platform/eclipse.platform.ui#2373, the error message will look like this:

Image

...when it could look more like this:

Image

In the screenshot, you can see that the ^ is off: it should be right under the [

Goal

  1. Show the multi-line error like the one in the last screenshot but place the ^ correctly.

  2. In other multi-line error messages where the extra line does not add any value, the error message should have only 1 line.

Image

This can be easily spotted by the fact that there is no ^ in the error message.

Metadata

Metadata

Assignees

Labels

EnhancementA Request for an Enhancement of an Existing FeaturePlatform UIIssue for Platform UIStudentAn Issue to be Addressed By a Student

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions