I tried changing colors in files.common. Changing just color does not solve the problem because the symbols are very tiny pin pricks. Changing them to black or red does not help. Changing background color from white totally disrupts the "look".
If there's a way to change the symbols themselves - that's what I need. Is there? If so I missed this and please direct me.
I've tried many Linux and windows editors editors none is perfect. Geany and Textpad share this one problem - visible whitespace chars can hardly be seen on my screens. Again, it's content, I need to see it clearly.
They are hard to see on some themes, you may need to try some variations.
On a hi-res laptop LCD screen they are almost invisible. I don't want
This has probably nothing to do with the screen resolution but more
with the contrast of the LCD. Anyway, I know the problem, my old LCD failed to display the default background colour of the current line. But it's nothing critical as you can easily change it.
a dark theme, I just want to be able to see the "visible" whitespace chars. Can I config this? A lot of other editors have the same
The manual knows the answer:
Find the setting "white_space".
Regards, Enrico
Hi Lee,
2009/8/18 Lee Gold leegold@operamail.com:
I tried changing colors in files.common. Changing just color does not solve the problem because the symbols are very tiny pin pricks. Changing them to black or red does not help. Changing background color from white totally disrupts the "look".
Unfortunately AFAICT the visible whitespace display is hard coded in Scintilla, the editing component used by Geany (http://www.scintilla.org). Geany can only turn it on/off. The best that can be done is to fiddle with the settings to minimise the disruption whilst maximising visibility. Making a light grey background 0xf0f0f0 and black foreground 0x000000 worked best for me but your mileage may differ. :-)
Cheers Lex
On Tue, 18 Aug 2009 16:37:43 +1000, Lex wrote:
Hi Lee,
2009/8/18 Lee Gold leegold@operamail.com:
I tried changing colors in files.common. Changing just color does not solve the problem because the symbols are very tiny pin pricks. Changing them to black or red does not help. Changing background color from white totally disrupts the "look".
Unfortunately AFAICT the visible whitespace display is hard coded in Scintilla, the editing component used by Geany (http://www.scintilla.org). Geany can only turn it on/off. The best that can be done is to fiddle with the settings to minimise the disruption whilst maximising visibility.
Another, in the long term more promising thing to be done is to request this feature enhancement to the Scintilla project, once it is available there, it will also be available in Geany (ok, maybe with some little delay :D). I don't know whether it's a coincidence or whether it was one of you but today exactly this request was made:
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=2839427...
The Scintilla developer stated he won't work on this himself but that doesn't mean it's not possible to get improved. Some just need to write some code for it.
Regards, Enrico
2009/8/19 Enrico Tröger enrico.troeger@uvena.de:
On Tue, 18 Aug 2009 16:37:43 +1000, Lex wrote:
Hi Lee,
2009/8/18 Lee Gold leegold@operamail.com:
I tried changing colors in files.common. Changing just color does not solve the problem because the symbols are very tiny pin pricks. Changing them to black or red does not help. Changing background color from white totally disrupts the "look".
Unfortunately AFAICT the visible whitespace display is hard coded in Scintilla, the editing component used by Geany (http://www.scintilla.org). Geany can only turn it on/off. The best that can be done is to fiddle with the settings to minimise the disruption whilst maximising visibility.
Another, in the long term more promising thing to be done is to request this feature enhancement to the Scintilla project, once it is available there, it will also be available in Geany (ok, maybe with some little delay :D). I don't know whether it's a coincidence or whether it was one of you but today exactly this request was made:
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=2839427...
I had a look at what was proposed above, it is probably the right way to do it.
So I did it the wrong way ;-)
To Neils eternal shame :-), the size of the dot is manifest constants in the code, the patch changes it to the symbol SCI_VISIBLE_WHITESPACE_SIZE with a default of one.
To change it "make CXXFLAGS=-DSCI_VISIBLE_WHITESPACE_SIZE=2" or whatever size or configure it or however waf does these things.
Patch is against scintilla in Geany.
Cheers Lex
The Scintilla developer stated he won't work on this himself but that doesn't mean it's not possible to get improved. Some just need to write some code for it.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Wed, 19 Aug 2009 11:03:41 +1000, Lex wrote:
2009/8/19 Enrico Tröger enrico.troeger@uvena.de:
On Tue, 18 Aug 2009 16:37:43 +1000, Lex wrote:
Hi Lee,
2009/8/18 Lee Gold leegold@operamail.com:
I tried changing colors in files.common. Changing just color does not solve the problem because the symbols are very tiny pin pricks. Changing them to black or red does not help. Changing background color from white totally disrupts the "look".
Unfortunately AFAICT the visible whitespace display is hard coded in Scintilla, the editing component used by Geany (http://www.scintilla.org). Geany can only turn it on/off. The best that can be done is to fiddle with the settings to minimise the disruption whilst maximising visibility.
Another, in the long term more promising thing to be done is to request this feature enhancement to the Scintilla project, once it is available there, it will also be available in Geany (ok, maybe with some little delay :D). I don't know whether it's a coincidence or whether it was one of you but today exactly this request was made:
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=2839427...
I had a look at what was proposed above, it is probably the right way to do it.
So I did it the wrong way ;-)
To Neils eternal shame :-), the size of the dot is manifest constants in the code, the patch changes it to the symbol SCI_VISIBLE_WHITESPACE_SIZE with a default of one.
To change it "make CXXFLAGS=-DSCI_VISIBLE_WHITESPACE_SIZE=2" or whatever size or configure it or however waf does these things.
Patch is against scintilla in Geany.
Nice! I changed the value to 3 for testing and it gets pretty visible then however I personally was also happy with the default but I see that it might be too small/bright in some setups.
About the code: I'd like to see this code to be discussed with Neil, ideally in the already existing feature request in the tracker. I think he would accept it and so we don't need to patch our Scintilla copy again. Ideally, the value could be changed with a message and not only by changing constants in the source code, I guess users would appreciate that. I guess best would be to ask Neil before doing any of such work.
Regards, Enrico
2009/8/20 Enrico Tröger enrico.troeger@uvena.de:
On Wed, 19 Aug 2009 11:03:41 +1000, Lex wrote:
2009/8/19 Enrico Tröger enrico.troeger@uvena.de:
On Tue, 18 Aug 2009 16:37:43 +1000, Lex wrote:
Hi Lee,
2009/8/18 Lee Gold leegold@operamail.com:
I tried changing colors in files.common. Changing just color does not solve the problem because the symbols are very tiny pin pricks. Changing them to black or red does not help. Changing background color from white totally disrupts the "look".
Unfortunately AFAICT the visible whitespace display is hard coded in Scintilla, the editing component used by Geany (http://www.scintilla.org). Geany can only turn it on/off. The best that can be done is to fiddle with the settings to minimise the disruption whilst maximising visibility.
Another, in the long term more promising thing to be done is to request this feature enhancement to the Scintilla project, once it is available there, it will also be available in Geany (ok, maybe with some little delay :D). I don't know whether it's a coincidence or whether it was one of you but today exactly this request was made:
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=2839427...
I had a look at what was proposed above, it is probably the right way to do it.
So I did it the wrong way ;-)
To Neils eternal shame :-), the size of the dot is manifest constants in the code, the patch changes it to the symbol SCI_VISIBLE_WHITESPACE_SIZE with a default of one.
To change it "make CXXFLAGS=-DSCI_VISIBLE_WHITESPACE_SIZE=2" or whatever size or configure it or however waf does these things.
Patch is against scintilla in Geany.
Nice! I changed the value to 3 for testing and it gets pretty visible then however I personally was also happy with the default but I see that it might be too small/bright in some setups.
About the code: I'd like to see this code to be discussed with Neil, ideally in the already existing feature request in the tracker. I think he would accept it and so we don't need to patch our Scintilla copy again. Ideally, the value could be changed with a message and not only by changing constants in the source code,
True, thats why I said I'd done it the wrong way. But it only took half an hour, I don't have the time or knowledge to add a message to Scintilla.
Will send it to Neil.
Cheers Lex
I guess users would appreciate
that. I guess best would be to ask Neil before doing any of such work.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Thu, 20 Aug 2009 08:50:50 +1000, Lex wrote:
2009/8/20 Enrico Tröger enrico.troeger@uvena.de:
On Wed, 19 Aug 2009 11:03:41 +1000, Lex wrote:
2009/8/19 Enrico Tröger enrico.troeger@uvena.de:
On Tue, 18 Aug 2009 16:37:43 +1000, Lex wrote:
Hi Lee,
2009/8/18 Lee Gold leegold@operamail.com:
I tried changing colors in files.common. Changing just color does not solve the problem because the symbols are very tiny pin pricks. Changing them to black or red does not help. Changing background color from white totally disrupts the "look".
Unfortunately AFAICT the visible whitespace display is hard coded in Scintilla, the editing component used by Geany (http://www.scintilla.org). Geany can only turn it on/off. The best that can be done is to fiddle with the settings to minimise the disruption whilst maximising visibility.
Another, in the long term more promising thing to be done is to request this feature enhancement to the Scintilla project, once it is available there, it will also be available in Geany (ok, maybe with some little delay :D). I don't know whether it's a coincidence or whether it was one of you but today exactly this request was made:
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=2839427...
I had a look at what was proposed above, it is probably the right way to do it.
So I did it the wrong way ;-)
To Neils eternal shame :-), the size of the dot is manifest constants in the code, the patch changes it to the symbol SCI_VISIBLE_WHITESPACE_SIZE with a default of one.
To change it "make CXXFLAGS=-DSCI_VISIBLE_WHITESPACE_SIZE=2" or whatever size or configure it or however waf does these things.
Patch is against scintilla in Geany.
Nice! I changed the value to 3 for testing and it gets pretty visible then however I personally was also happy with the default but I see that it might be too small/bright in some setups.
About the code: I'd like to see this code to be discussed with Neil, ideally in the already existing feature request in the tracker. I think he would accept it and so we don't need to patch our Scintilla copy again. Ideally, the value could be changed with a message and not only by changing constants in the source code,
True, thats why I said I'd done it the wrong way. But it only took half an hour, I don't have the time or knowledge to add a message to Scintilla.
Last week I spent a little time to write the necessary code around your initial patch, sent it to the Scintilla mailing list and it got committed. So, with the next Scintilla release, we can add a preference for the size of the space character dots :).
I think we could wait for the next Scintilla release, 2.02, and then update our copy in Geany.
Regards, Enrico
True, thats why I said I'd done it the wrong way. But it only took half an hour, I don't have the time or knowledge to add a message to Scintilla.
Last week I spent a little time to write the necessary code around your initial patch, sent it to the Scintilla mailing list and it got committed. So, with the next Scintilla release, we can add a preference for the size of the space character dots :).
I think we could wait for the next Scintilla release, 2.02, and then update our copy in Geany.
Great, If I'd known you were a Scintilla expert I'd have asked for more assistance :-)
Cheers Lex
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Mon, 7 Sep 2009 07:50:24 +1000, Lex Trotman elextr@gmail.com wrote:
True, thats why I said I'd done it the wrong way. But it only took half an hour, I don't have the time or knowledge to add a message to Scintilla.
Last week I spent a little time to write the necessary code around your initial patch, sent it to the Scintilla mailing list and it got committed. So, with the next Scintilla release, we can add a preference for the size of the space character dots :).
I think we could wait for the next Scintilla release, 2.02, and then update our copy in Geany.
Great, If I'd known you were a Scintilla expert I'd have asked for more assistance :-)
I'm not at all. I just added another Scintilla message in the past and so I basically still knew where to add the necessary code :).
Regards, Enrico