summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-02-14 18:42:52 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-02-14 19:09:19 +0100
commit9104d5e8905c2ec2b576b5ca452d3e23d5555e49 (patch)
tree97d2062437f5c53356602f476a5edbda378f283c /vcl
parentb6ff380b9378ecbcceadf717dcf1623bc52d4825 (diff)
fdo#60738 SwPostItMgr: let the cursor know if we're in annotation mode
This solves the conflicting requirements: If the annotation has focus ("in annotation mode"), then we want to be read-only only in case the comment anchor is inside a protected section, or so. Ignoring the fact that in the main document, the cursor is right before the annotation anchor, which is a read-only position. OTOH, if the annotation has no focus and the cursor position is before the annotation anchor position, then we do want to be read-only. With this commit, the first case passes around a boolean flag, so the annotation frame won't be read-only without a reason. Change-Id: I25781a4501f752f7c4d024795d57b884cb800547
Diffstat (limited to 'vcl')
0 files changed, 0 insertions, 0 deletions