Hi,
ashok _ wrote:
[..]
1) Create a new writer document.
2) type some text : "This is some text"
3) insert a bookmark "bk01", before the word some.
4) insert a bookmark "bk02", after the word some.
5) now do a find and replace of the word "some" with "the",
6) so the sentence in the document appears as: "This is the text",
7) Now right click on the status bar, pages indicator, and only the
second bookmark
remains ("bk02"), and this remaining bookmark is wrongly positioned at
the letter "t"
of the repacement word "the"....
yes, the position of 'bk02' is wrong, you should submit an issue with
your findings.
The missed 'bk01' is another problem. We deal with a bookmark right
before a character as if the character is marked. So this bookmark is
moved with the character, e.g. if you select the word and drag&drop it
somewhere else in your document, the bookmark will be moved, too. If you
delete the word, the bookmark is deleted, too. If you replace your word
by another word, the word is deleted (with the bookmark) and then
another word is inserted (without bookmark). It will be difficult to
specify this behavior in a way that delivers expected result for every
situation.
Regards
Andreas
--
Andreas Martens (ama) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]