[Widget] Find in note cltr+f #2806
Replies: 9 comments 9 replies
-
Awesome sauce. |
Beta Was this translation helpful? Give feedback.
-
You can go to the root note, add the |
Beta Was this translation helpful? Give feedback.
-
Perf update for CodeMirror: Bracketed all codemirror markText calls inside an operation(), this batches the calls and increases the speed from a few seconds to unnoticeable when searching for single char strings in this ~500 line script |
Beta Was this translation helpful? Give feedback.
-
Fixed bug when there are multiple code-editors (in inactive tabs). Need to get all the code-editor components and find the one for the active tab note. |
Beta Was this translation helpful? Give feedback.
-
That's pretty impressive! I originally wanted to use CKEditor/CodeMirror native dialogs, but the CKEditor bug (which prevents CTRL+F from working) is not getting fixed so I might use your solution (if you agree). Having consistent UI for both text notes and code notes is a nice bonus! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Updated
The only missing part of the main functionality is starting the search from the current cursor position. |
Beta Was this translation helpful? Give feedback.
-
Updated
|
Beta Was this translation helpful? Give feedback.
-
Deleted gist and moved to my repo https://github.com/antoniotejada/Trilium-FindWidget |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I wrote a Find in note widget to replace the crappy ctrl+f search.
Todos:
https://github.com/antoniotejada/Trilium-FindWidget
Video
sandbox.-.Trilium.Notes.2022-04-22.15-41-19_rescaled.mp4
Beta Was this translation helpful? Give feedback.
All reactions