linux-awi / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Syntax highlighting colors suck #734

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The default color schemes of the text editor suck:
- Bad contrast, especially when highlighting matching brackets
- Strings and other PHP code parts are not well highlighted

I would love to see a colorscheme I can use with a white background.
I like the Textmate 1 color scheme or the Notepad++ (for windows) color schema.

Thank you!

Original issue reported on code.google.com by johannes...@googlemail.com on 25 Apr 2012 at 9:50

GoogleCodeExporter commented 9 years ago
Syntax highlighting is 100% configurable and your fully able to change the 
colors to what ever you want to. The default scheme has been this way for 
several years and it is what most are used to using. There are 5 or 6 other 
builtin schemes to choose from shipped with the application as well.

Its rather difficult to quantify what 'suck' means its rather subjective. What 
colors people like are also subjective personal preferences.

- Matching brackets are just made Bold in the default style not sure how that 
can affect contrast.
- What does 'not well highlighted' mean?

Feel free to make your own coloring scheme and submit it for inclusion. There 
are also several extensions already provided by other users.

http://editra.org/forum/viewtopic.php?f=9&t=164&sid=65699ad8912afa7fc25af0ff0f14
c6f4
Some more at the bottom of this page: http://editra.org/plugins

Original comment by CodyPrec...@gmail.com on 25 Apr 2012 at 1:16

GoogleCodeExporter commented 9 years ago
Thanks for pointing out the forum, I did not know I could customize the 
highlighting myself. 

Let me point out some issues I have with the defaults for PHP code:
- Blue theme has a too agressive background
- Blue Monday makes $variables hard to read (black to dark gray/blue)
- Cream actually looks nice, but the bracket highlighting turns their color 
into white: White bracket on white background 
- Current line highlighting in Fios is really hard to read (too dark)
etc...

I think the themes have gotten better in the recent version, though I still 
prefer the sleek Textmate look :-)

Original comment by johannes...@googlemail.com on 26 Apr 2012 at 7:10

GoogleCodeExporter commented 9 years ago
Another issue: Sometimes the syntax highlighting colors are not updated 
properly when changing text in the file.

See the attached screenshot: I added a " in line 46 to fix a previous syntax 
error -> however the text after line 46 does not update its colors. Moving the 
cursors (by mouse or keyboard) updates the syntax highlighting however.

I'm not sure how to reliably reproduce the problem - this is a bug however and 
the ticket should be reopened for it.

Original comment by johannes...@googlemail.com on 26 Apr 2012 at 12:52

Attachments:

GoogleCodeExporter commented 9 years ago
This is an upstream issue with the version of Scintilla or wx itself in 
wxPython2.8. I have only observed it occuring a few times in several years. 
Believe it may be fixed in wxPython2.9 (currently not stable enough to use for 
main binary releases). Leaving as closed as it to my knowledge rarely occurs, 
is a minor inconvenience, and unfortunatly there is really nothing that can 
really be done about this in Editra itself.

Editra by default uses a small set of global styles that applied to all 
document types. This provides a consistent look / feel and minimal end user 
configuration. Color choices are very personal and subjective, so nearly every 
aspect of this is configurable for the those that need it so your free to 
generate your own style set or edit an existing one to better suit your needs.

Basic: http://editra.org/using_editra_style_sheets (screen shots slightly dated)
Advanced: http://editra.org/syntax_highlighting_customization

Original comment by CodyPrec...@gmail.com on 26 Apr 2012 at 7:52