Skip to content

Add new plugin to highlight proper selected text between two points

This PR utilizes the fitz module from mupdf to extract a list of rectangles representing the current selection between two points. This will be used to close zathura#26 (closed)

It will

  1. Extracts the text if the text has not been extracted already. It stores this so we do not recompute for every page.
  2. uses fz_highlight_selection to get a list of quads
  3. Returns them through the plugin-api (and accounts for possible errors).

Merge request reports