PythonScript icon indicating copy to clipboard operation
PythonScript copied to clipboard

configure stderr color in console (now red)

Open aput opened this issue 4 years ago • 2 comments
trafficstars

Python errors printed into the PythonScript console are in red. I have a requirement (due to color deficiency) to change this to a different color. And I think I looked pretty much everywehere.

How can I change the stderr color in console?

aput avatar Nov 04 '21 21:11 aput

This hardcoded at the moment at:

https://github.com/bruderstein/PythonScript/blob/3d3fbeb755946f4cf1a92d864b6303aff78f385b/PythonScript/src/ConsoleDialog.cpp#L377-L379

and could just be changed if you would compile the plugin on your own.

chcg avatar Nov 05 '21 05:11 chcg

@aput - this can be already done, create a startup.py file and put this into it console.editor.styleSetFore(1, (240, 128, 0)) restart npp.

Ekopalypse avatar Nov 14 '21 20:11 Ekopalypse