typora-issues
typora-issues copied to clipboard
When searching highlighted text, the search results are not readable in light themes
-
[x] Searched existing issues to avoid creating duplicates.
-
[x] Confirmed that it can be reproduced in built-in themes without customized css.
Github
,pixyll
, andNewsprint
are affected.Night
is not affected. -
[x] Searched http://support.typora.io/
Describe the bug
Searching for ==TODO==
will show the search results unreadably as what looks like == ==
. In the Night
theme, this is no issue. Enabling or disabling regex does not matter.
This is relevant because when e.g. searching for everything highlighted by using RegEx search and searching for ==.*==
I am unable to see what the highlighted result actually is saying.
To Reproduce Steps to reproduce the behavior:
- Go to Preferences and enable
Markdown > Syntax Support > Highlight
- Write in a file some text, including a few occurrences of
==something==
- Press CTRLF and enter the search term
something
, then Enter to jump to the first result. - If you are using most themes (e.g.
github
) you will only see a black bar instead of the search term.
Expected behavior I would expect the text to be readable. Ideally, the highlighted parts of the result would somehow still look different than the non-highlighted parts. But using a background color that is the same as the text color to distinguish highlighted from normal text is a bad idea.
Screenshots / Screencasts
Github | Night |
---|---|
![]() |
![]() |
![]() |
![]() |
Sample Markdown File typora-highlighting.md This should be very simple to reproduce in any file that has some highlighting though.
Desktop (please complete the following information):
- OS: Windows 10 Pro, 64 bit
Typora Version
1.3.8