mupdf::widget
=============

2.1 - Nov-2021
* mupdf::widget is now a fully complaint 'scrollable widget' (added options -x/yscrollcommand and -x/yscrollincrement).
* Internal improvement: the image is (eventually) repainted only once per event-loop.
* subcommand nextpage/prevpage now returns true/false  (false means that there's not a next/prev page)
* DOCS updated.

2.2 - Nov-2021
*Added methods "annot_flatten" and "annot_get"
*BUGFIX: <<"clone" method raises an error if $win ha no attached pdf>>. Now FIXED		
*Even with the previous releases you were able to create multiple instances of mupdf::widget
 working on the same PDF (e.g. two views on the same PDF).
 This worked but with one severe limitation: changes made through one view (e.g. add/change/delete annotations)
  weren't propagated to other views. 
 NOW widget instances can do changes (add/change/remove annotations..)
  and then the changes are propagated
  to all the widget instances working on the same doc.

2.3 - Sep 2023
*Added method  annot_settype
* text found by the "search" method is now highlighted with a stippled color
* removed inner lib (snit) ; it should be provided externally

2.3.1 -Sep 2023
*BUGFIX : <<scheduled job _Dopaint should be canceled when the widget is destroyed.>>  Now Fixed

2.3.2 - Aug 2024
* Adapted for compatibility with Tcl9
* Support for <TouchpadScroll> method (Tcl >= 8.7)

2.4 - Feb 2025
* Added option "-state" ; trivial change but vital for implementing more controls in PdfViewer
* Added methods  "annot_get_text", "annot_selection_show", "annot_selection_hide"
* Added virtual events <<MuPDF.AnnotB1Press>> <<MuPDF.AnnotB1PRelease>>,
   <<MuPDF.AnnotB3Press>>, <<MuPDF.AnnotB3release>>
  for implementing more controls in PdfViewer. 




