pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.59k stars 407 forks source link

[FEATURE] Search for a text inside a Note (find as you type should be optional, or at least it shouldn't jump backwards) #2869

Open ElfQrin opened 11 months ago

ElfQrin commented 11 months ago

When you search for a string inside a note, it finds the text as you type, which be useful sometimes, but in QOwnNotes is a big annoyance, because when you delete some characters in the find field it jump backwards to previous results, and if you delete all the searched string it jumps back to the beginning of the document. This is not only annoying, but it also prevents the user to search for a new string starting from a found text. For example, you search for "hello" and then you want to find the next occurrence of "world" starting from that point.

pbek commented 11 months ago

Can you please describe what you expected, what the actual behavior was, and step by step what you did?

ElfQrin commented 11 months ago

Test Note

test

hello

John Doe

goodbye

use this tool

the quick brown for jumps over the lazy dog

List of users:

Steps to reproduce

Expected behaviour

Actual behaviour

Note

You can test this example on basically any text editor, like Kate on Linux or Notepad on Windows, to see what the expected behaviour is.

pbek commented 11 months ago

Thank you. That's part of https://github.com/pbek/qmarkdowntextedit/.

It will be hard to get around that without regressions...