Gedit was working fine with the default desktop theme in Ubuntu 20.04. However, when I changed the desktop theme to dark, the text cursor in gedit becomes invisible, although the functionality of the editor is not hindered.
Any way to fix this?
Go to the Preferences menu on Gedit and change the Color Scheme on Fonts & Colors tab.
Check if the text is readable even with the presence of the highlighted content on the selected line.
Late but it worked for me. I also like to use the "Kate" scheme. So here is what I did.
The new scheme "KateN" will be saved under "~/.local/share/gedit/styles/kateN.xml"