pdfannots icon indicating copy to clipboard operation
pdfannots copied to clipboard

[WIP] Add support for caret

Open suyashmahar opened this issue 8 months ago • 3 comments

Attemps to add support for replace annotations:

image

The replace text annotation is made of a StrikeOut and a Caret annotation. The StrikeOut part is the line, and the little arrow is the Caret annotation. Since they appear as separate annotations, this hacky implementation modifies the content of the last StrikeOut annotation when it sees a Caret annotation.

However, I noticed that every annotation here appears twice:

https://github.com/0xabu/pdfannots/blob/f3d80dbcfbb15ffce5e3bc9ff45f269958925bfb/pdfannots/init.py#L396-L405

Attempts to resolve #61

@0xabu Do you have any thoughts on this?

suyashmahar avatar Jun 26 '24 02:06 suyashmahar