Open DutchPete opened 5 years ago
Hope regular expression search is support both in local and global search
When in WYSIWYG mode, and given the text:
`Find` should ignore markup in [WYSIWYG](https://en.wikipedia.org/wiki/WYSIWYG)
mode.
Some people like Typora's *Hybrid* mode. Some people dream of an editor
with a true *WYSIWYG* mode. Typora could make everyone happy with a
simple `Display markup under cursor` switch (issue #1317). 😉
Find
"WYSIWYG mode" should match two items.
In other words, Find
should operate on the rendered text, not the underlying "source code". This is how nearly all rich text editors work.
When in source code mode, Find
should continue to behave as it does now: it should search the source code, which of course includes markup.
@abnerlee Please don't make this an "search option" as you mentioned in your comment when you closed #3260. That just adds complexity. Far more simple and intuitive:
in WYSIWYG mode, Find
searches the rendered text.
in source code mode, Find
searches the source code, which of course includes markup.
It really would be awesome to have regex search.
@abnerlee Please don't make this an "search option" as you mentioned in your comment when you closed #3260. That just adds complexity. Far more simple and intuitive:
* in WYSIWYG mode, `Find` searches the rendered text. * in source code mode, `Find` searches the source code, which of course includes markup.
I'd agree here.
When a Search box is opened ( CTRL+F or CTRL+Shift+F ):