Replace in Marked Text Region

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Replace in Marked Text Region

Post by mgag »

Replace is not working for a marked text region. Steps to repro,

Type in the following
11 22 33 44 55 66 77 88 99
select the above text. Open the Replace dialog and replace the " " with ",0x". The result is the text is only replaced up to the originally marked text, but since the text grows in length, the items that fall out of the marked region do not get replaced.

Also, consider if there is a marked text region, when Replace dialog box appears, the Marked Text only region should default.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Replace is not working for a marked text region. Steps to repro,
Thanks for the bug report and the clear steps on how to replicate it :)
Also, consider if there is a marked text region, when Replace dialog box appears, the Marked Text only region should default.
This is how it is meant to work ;)

The marked region option will only get selected if more than one line of text is selected or if the whole line is selected in line marking mode.

The reason it works this way is because for the case where less than a whole line of text is marked, the marked text is used to populate the find text field.

Cheers Jussi
Post Reply