All bookmarks move to line 1 when using search & replace all

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
RaBe
Posts: 19
Joined: Wed Feb 06, 2013 5:27 pm

All bookmarks move to line 1 when using search & replace all

Post by RaBe »

Hello,

whenever I use search & replace all, all bookmarks in my document are moved to line 1. If I had e.g. 5 bookmarks, I have to use "Toggle bookmark" in the first line of the document 5 times to remove the bookmark(s). I have WeBuilder 12.0.0.146 @ Vista SP2 32bit.

I just switched from WeBuilder 2008 which did not have this issue, and I use bookmarks as well as search & replace very frequently, so I'd like to have this fixed :)

Thanks!
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: All bookmarks move to line 1 when using search & replace

Post by Aivars »

Bug confirmed and added to list.
Blumentals Software Programmer
RaBe
Posts: 19
Joined: Wed Feb 06, 2013 5:27 pm

Re: All bookmarks move to line 1 when using search & replace

Post by RaBe »

Just for the protocol, with the newest update, all bookmarks are REMOVED when using "replace all".
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: All bookmarks move to line 1 when using search & replace

Post by Aivars »

It's a temporary solution for now. Keeping the bookmarks intact is difficult due to multi-line replaces. We will return to this problem later (or sooner if we receive more complaints about this).
Blumentals Software Programmer
RaBe
Posts: 19
Joined: Wed Feb 06, 2013 5:27 pm

Re: All bookmarks move to line 1 when using search & replace

Post by RaBe »

Just keep the bookmarks in its original position just by line number, not by content, so it will work fine if doing single line replaces or multi line replaces with the same row count. I am quite sure this is as it was implemented in WB2008 :)
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: All bookmarks move to line 1 when using search & replace

Post by Aivars »

I think this was changed after 2008 to increase speed of the replace operation. Currently Replace All replaces all text at once instead of replacing all instances one by one, but the side effect is the bookmark problem.
Blumentals Software Programmer
RaBe
Posts: 19
Joined: Wed Feb 06, 2013 5:27 pm

Re: All bookmarks move to line 1 when using search & replace

Post by RaBe »

I am very happy with the new speed of the replace operation. As well as of many other of the new features :)

And I really liked the bookmarks - I hope they will be back soon (i.e. "survive" S&R operations) :)
Post Reply