Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320711

Summary: [find/replace] Find/Replace dialog does not clear error state with regular expression
Product: [Eclipse Project] Platform Reporter: Jørgen Nørgaard <jnp>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert, remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
Screen shot of Find/replace window none

Description Jørgen Nørgaard CLA 2010-07-23 07:58:50 EDT
Build Identifier: 20100617-1415

Replace window does not clear error state with regular expression after an error


Reproducible: Always

Steps to Reproduce:

1. Open a text file in i.e. a java project
2. Open Find/Replace dialog
3. choose regular expression
4. Type for example '{ABE}3' i Find box
5. Type for example fff in Replace with box
6. Press Find button and get error message 'Illegal repetition'
7. Clear incorrect expression and replace with for example 'AAA'

Error message is kept and all button, except Close are disabled.
Comment 1 Jørgen Nørgaard CLA 2010-07-23 08:02:28 EDT
Created attachment 175056 [details]
Screen shot of Find/replace window
Comment 2 Dani Megert CLA 2010-07-24 04:12:47 EDT
>Error message is kept
Can reproduce this using R3.6. Like that since day one.

> and all button, except Close are disabled.
This is not true and even your screenshot proves that.
Comment 3 Jørgen Nørgaard CLA 2010-07-24 04:53:53 EDT
I are right - my mistake, sorry.
Comment 4 Dani Megert CLA 2010-07-24 04:57:02 EDT
The bug is still valid: the error message should go away when typing again.
Comment 5 Eclipse Genie CLA 2019-04-09 17:52:28 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Eclipse Genie CLA 2021-03-31 11:16:47 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.