Menu

#509 Export plugin: inverted v/s default syntax coloring

open
nobody
None
5
2011-03-06
2011-03-06
No

Hi Devs,

I use inverted syntax highlighting colors in Geany (Preferences > Editor > Display > Invert syntax highlighting colors). With this, I have a black background, and light text colors.

When I export to HTML using the export plugin, the same inverted (light-on-black) colors are used. It is nice to see that the export plugin honors the currently used look.

However there are 3 minor issues here:

(1) It will be nice to optionally export in the default (non-inverted) syntax highlighting colors. In fact it will be nice if the default option is to simply use the default colors. I can always work around this by switching to the default coloring scheme temporarily, but it will be nice to have this option in the export dialog box -- much like the "Use current zoom level" option presently available.

(2) Very minor issue: If I export using the inverted, light-on-dark color scheme, then the page background color is unspecified (defaulting to white in my browser), while the text background is black as it should be. This looks tacky. Even though it is possible that the user will simply copy an HTML snippet from the exported file, it will still be nice to fix this.

(3) If exporting using inverted syntax highlighting, then the color of line numbers should be white, instead of black, as it is currently. Without this, if the user copies an HTML snippet, and includes it in a dark background HTML page, then the line numbers will not be visible. This fits in well with point number (2) above.

Thanks,
Niraj

Geany 0.21 (built from svn r5581)
Ubuntu 10.04.2 (Linux 2.6.32-28-generic)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB