mudlej / mj_pdf

GNU General Public License v3.0
107 stars 3 forks source link

[Enhancement] Add a way to select text directly on the pdf #31

Open gamberoillecito opened 1 month ago

gamberoillecito commented 1 month ago

I find the current way of select text extremely impractical since I always have a hard time finding what I want to select in the "Selectable text".

A much easier way would be to allow the selection directly on the pdf page like most other pdf readers do

mudlej commented 1 month ago

This issue is the same as issue #48, but I'm keeping it open to prevent duplicate reports on GitHub.

Live Text Selection has consistently been the most requested feature, along with Text Highlighting. Unfortunately, the previous version of the app did not support text copying. To address this, I introduced a method to copy the text of a page, which, although not ideal, helped meet the need to some extent.

Initially, there was no feasible method for implementing this feature. However, the introduction of search result highlighting has paved the way for potential Live Text Selection, despite being a challenging one.

The exciting news is that while developing version 2.2.0, which will be released shortly, I discovered a straightforward approach to implementing this feature. This discovery was totally unexpected but very promising. However, I will need approximately two weeks of dedicated time to complete this feature, which I don't have currently. But, I aim to include it in either version 2.3.x or 2.4.x.