QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

[FEATURE] Highlight the same words that are marked by the user

Open ewrvp7lv7 opened this issue 1 year ago • 4 comments

Please, could you make automatic colour selection of the same character sets as user selected ones. This, for example, makes it easier to analyse hashes. An example is shown in the picture below.

Screenshot from 2024-04-08 20-53-37

Expand QOwnNotes - version 23.1.1 - AppImage - build 1004

ewrvp7lv7 avatar Apr 08 '24 14:04 ewrvp7lv7

I'm not sure if I understand your request. 😅

Can you please describe what you expected, what the actual behavior was, and step by step what you did? (see issue template)

pbek avatar Apr 08 '24 17:04 pbek

Sorry. This handy function is available in many editors, for example, VSC. Please, imagine, we have five very similar lines. We can select the top line with the mouse. Then we can see which row matches exactly the top row. Because the other rows differ from the top row by the characters that are highlighted in crimson.

Screenshot from 2024-04-10 02-00-05 Below we have selected the right part of the second line with the mouse. Screenshot from 2024-04-10 02-08-45

ewrvp7lv7 avatar Apr 09 '24 19:04 ewrvp7lv7

Hm, to be hard on the CPU when done in real-time. And I only know of one way to highlight text in the QPlainTextEdit and that is used by the search already... 🤔

pbek avatar Apr 11 '24 19:04 pbek

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 12 '24 01:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 26 '24 01:05 github-actions[bot]