Replace with Scope set to Selection

SyntaxEditor for WPF Forum

Posted 10 years ago by Benjamin Rosenberg
Version: 11.2.0555
Platform: .NET 3.5
Environment: Windows 8 (64-bit)
Avatar

We are seeing a problem with the EditorSearchView when using the Replace button with scope set to selection.  If the Syntax Editor has the following text:

This is a test
<strong>This is a test</strong>
<strong>This is a test</strong>
<strong>This is a test</strong>
This is a test

and we use the EditorSearchView to find and replace the word "test" with "done" while having lines 2, 3 aned 4 selected and setting the scope to "Selection" using the "Replace" button, it replaces the ones on line 2 and 3 fine, but fails to move on and find the one on line 4.

Interestingly, it works when using "Replace All" with the selection scope still set.  its just the "Replace" button that seems to stop after two successful replacements.

[Modified 10 years ago]

Comments (3)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Benjamin,

I just tried it in the latest 2015.1 version and it seems to be working there.  You indicated that you are on an old version, so perhaps this is a bug that has already been fixed since then.  Please give the latest version a try and let us know if you still see it there.


Actipro Software Support

Answer - Posted 10 years ago by Benjamin Rosenberg
Avatar

Is a 2015.1 kit available for .Net 3.5 as the application we use still hasn't moved to .Net 4.

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Benjamin,

I'm sorry but no.  .NET 4.0 was released 5 years ago and we now have internal code that relies on it.


Actipro Software Support

The latest build of this product (v24.1.3) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.