If an annotation is tied to a highlight, there is the possibility that a user will try to create an overlapping annotation. Currently, the annotation code prohibits it: if you try to create a new highlight that overlaps an old one, you are instead dropped into the annotation editor for the old annotation. Overlapping annotations aren't that easy to create now that it is word-selection that is used for generating highlights, though it can still be done (in a hyphenated-word-sequence, if you tap on a hyphen you get the whole sequence while if you tap on a letter you just get the word). But once code gets produced for highlighting a larger block of on-screen text (anybody wants to write that code for the annotation branch???) it will become easier. I suggest the following behavior, but would like any better suggestions.
1. If a new highlight overlaps one old highlight, just merge the two highlights and throw the user into the annotation editor for the resulting highlight, with any annotation that the old highlight might have had being there. (Currently users are thrown into the annotation editor whenever they make a highlight, since highlights are just anchors for annotations. Eventually, we can make this be configurable, perhaps.) 2. If a new highlight overlaps more than one old highlight, check if the 4000-byte limit on annotations would allow the annotations on the old highlights to be merged. If so, ask the user whether the highlights and annotations should be merged into one. If not, tell the user to delete some of the annotations manually first. Alex -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georgetown.edu/faculty/ap85 -------------------------------------------------------------------------- "Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur." - Paul of Worczyn (1424) _______________________________________________ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev