J
Johannes Stuermer
I wonder how difficult it is to solve the following dilemma:
I have a protected document with several editable text sections. Each of
these text sections is also bookmarked. When I add text inside a bookmarked
area, the bookmark expands together with the area that is hightlighted as
editable, which is what I want. However, if I put the cursor at the end of a
bookmark and then add text, only the hightlighted, editable area expands, but
NOT the bookmark itself. This is a problem because what I'm interested in is
the text inside the bookmark.
How can I get around this behavior? I've tried various ways of adjusting the
start/end value of the bookmarked range to keep it in sync with the editable
area, but since there is no document event that fires when text changes, I
can make the adjustment only when there is a selection change, which is just
not good enough. Any ideas?
Thank You,
Johannes Stuermer
I have a protected document with several editable text sections. Each of
these text sections is also bookmarked. When I add text inside a bookmarked
area, the bookmark expands together with the area that is hightlighted as
editable, which is what I want. However, if I put the cursor at the end of a
bookmark and then add text, only the hightlighted, editable area expands, but
NOT the bookmark itself. This is a problem because what I'm interested in is
the text inside the bookmark.
How can I get around this behavior? I've tried various ways of adjusting the
start/end value of the bookmarked range to keep it in sync with the editable
area, but since there is no document event that fires when text changes, I
can make the adjustment only when there is a selection change, which is just
not good enough. Any ideas?
Thank You,
Johannes Stuermer