martinrotter / textosaurus

Cross-platform text editor based on Qt and Scintilla.
GNU General Public License v3.0
284 stars 44 forks source link

Syntax highlighting #77

Closed ghost closed 4 years ago

ghost commented 4 years ago

It seems that syntax highlighting is not supported.

If I open a file sunday.cpp, its just black and white.

martinrotter commented 4 years ago

Hello, Textosaurus surely supports syntax highlighting for C++.

image

Make sure that you have some "editor color scheme activated".

image

Default "Textosaurus" color scheme disables almost all syntax highlighting substyles for good-by-default performance. You have to activate different color scheme, or customize it according to your needs.

Let me know if this helped you.

ghost commented 4 years ago

Yes that fixes it, thank you. I think "Textosaurus (built-in theme)" should not be default, as it gives impression that syntax highlighting is not available. If user desire performance then they can choose Textosaurus theme. Thanks again

martinrotter commented 4 years ago

I changed default theme to Solarized Dark.

ghost commented 4 years ago

thank you @martinrotter !