Hi,
How to I change the "view whitespace" character in Geany. The default is too faint. I need a bolder dot. How could I do this?
There does not seem to be hot keys or toolbar buttons for view whitespace or view line endings. I seem to have to go into the preferences to toggle on/off. Is there a way? I really need to toggle these from the edit window toolbar or hot key combinations.
Thanks,
Lee G.
On Sat, 6 Dec 2008 05:56:23 -0400, "Lee Gold" leegold@operamail.com wrote:
Hi,
How to I change the "view whitespace" character in Geany. The default is too faint. I need a bolder dot. How could I do this?
see filetypes.common. There is a setting 'white_space' and it can change the foreground and background colour of shown whitespace. So you can give the dots a darker foreground colour. Unfortunately, you can't make them bold but maybe using a darker colour is enough. For details about filetypes.common, please read the documentation (http://www.geany.org/manual/current/index.html#filetype-definition-files). In case of further questions, don't hesitate to ask.
There does not seem to be hot keys or toolbar buttons for view whitespace or view line endings. I seem to have to go into the preferences to toggle on/off. Is there a way? I really need to toggle these from the edit window toolbar or hot key combinations.
For a toolbar button we would need an icon. If you have any suggestions, it could be easily added.
Regards, Enrico
On Sat, 2008 Dec 06 11:35:27 +0100, Enrico Tröger wrote:
So you can give the dots a darker foreground colour. Unfortunately, you can't make them bold but maybe using a darker colour is enough.
Scintilla CVS should have a bit of code I submitted a while ago that implements SCI_{GET,SET}SPACEDOTSIZE. I've been using this with a hard-coded value of 3, but perhaps some folks would like a pref... :-)
--Daniel
On Sat, 6 Dec 2008 06:24:00 -0500, "Daniel Richard G." skunk@iSKUNK.ORG wrote:
Hi Daniel,
On Sat, 2008 Dec 06 11:35:27 +0100, Enrico Tröger wrote:
So you can give the dots a darker foreground colour. Unfortunately, you can't make them bold but maybe using a darker colour is enough.
Scintilla CVS should have a bit of code I submitted a while ago that implements SCI_{GET,SET}SPACEDOTSIZE. I've been using this with a hard-coded value of 3, but perhaps some folks would like a pref... :-)
that'd be awesome but I couldn't find those messages, not even in Scintilla CVS. I guess it wasn't yet committed.
Regards, Enrico
Hi Enrico,
On Sat, 2008 Dec 06 13:44:42 +0100, Enrico Tröger wrote:
On Sat, 6 Dec 2008 06:24:00 -0500, "Daniel Richard G." skunk@iSKUNK.ORG wrote:
Scintilla CVS should have a bit of code I submitted a while ago that implements SCI_{GET,SET}SPACEDOTSIZE. I've been using this with a hard-coded value of 3, but perhaps some folks would like a pref... :-)
that'd be awesome but I couldn't find those messages, not even in Scintilla CVS. I guess it wasn't yet committed.
Damn. This must've been over a year ago, too.
Attached is my diff against Scintilla CVS, with some unrelated changes edited out. Give it a try if it looks interesting... let me know if it breaks for any reason.
And everyone bug the Scintilla maintainer to apply it already ^_^
--Daniel
On Sat, 6 Dec 2008 15:33:17 -0500, "Daniel Richard G." skunk@iSKUNK.ORG wrote:
Hi Enrico,
On Sat, 2008 Dec 06 13:44:42 +0100, Enrico Tröger wrote:
On Sat, 6 Dec 2008 06:24:00 -0500, "Daniel Richard G." skunk@iSKUNK.ORG wrote:
Scintilla CVS should have a bit of code I submitted a while ago that implements SCI_{GET,SET}SPACEDOTSIZE. I've been using this with a hard-coded value of 3, but perhaps some folks would like a pref... :-)
that'd be awesome but I couldn't find those messages, not even in Scintilla CVS. I guess it wasn't yet committed.
Damn. This must've been over a year ago, too.
Attached is my diff against Scintilla CVS, with some unrelated changes edited out. Give it a try if it looks interesting... let me know if it breaks for any reason.
And everyone bug the Scintilla maintainer to apply it already ^_^
This is your task! :) If this is accepted by Neil, we can include it in Geany as well. But the first step should be Scintilla upstream.
Regards, Enrico
Enrico Tröger wrote:
There does not seem to be hot keys or toolbar buttons for view whitespace or view line endings. I seem to have to go into the preferences to toggle on/off. Is there a way? I really need to toggle these from the edit window toolbar or hot key combinations.
For a toolbar button we would need an icon. If you have any suggestions, it could be easily added.
Putting it on the toolbar may be a bit too much, since that is for more commonly used functions and many folks don't like a cluttered toolbar. But having to go into to preferences to change it is too much work. I need to change it occasionally but not often enough to remember where it is buried in the preferences. (Preferences->Editor tab->Display tab->Show white space) How about making a 'Show white space' option available under the View menu?
Thanks,
Bob S
On Sat, 06 Dec 2008 07:44:49 -0800, Bob Snyder bob.snyder@cox.net wrote:
Enrico Tröger wrote:
There does not seem to be hot keys or toolbar buttons for view whitespace or view line endings. I seem to have to go into the preferences to toggle on/off. Is there a way? I really need to toggle these from the edit window toolbar or hot key combinations.
For a toolbar button we would need an icon. If you have any suggestions, it could be easily added.
Putting it on the toolbar may be a bit too much, since that is for more commonly used functions and many folks don't like a cluttered
Sure, if ever, it won't be visible by default. But as long as there is no suitable icon, it's not worth talking about it.
toolbar. But having to go into to preferences to change it is too much work. I need to change it occasionally but not often enough to remember where it is buried in the preferences. (Preferences->Editor tab->Display tab->Show white space) How about making a 'Show white space' option available under the View menu?
Adding it to the View menu seems to me to be the same as adding toolbar items, at least partly. At some point it also feels bloated. But we could add a submenu to the View menu and put there editor related view options, like:
View->Editor->Show Whitespace View->Editor->Show indentation guides View->Editor->Show Line numbers View->Editor->Show Markers Margin
Regards, Enrico
Enrico Tröger wrote:
On Sat, 06 Dec 2008 07:44:49 -0800, Bob Snyder bob.snyder@cox.net wrote:
Enrico Tröger wrote:
There does not seem to be hot keys or toolbar buttons for view whitespace or view line endings. I seem to have to go into the preferences to toggle on/off. Is there a way? I really need to toggle these from the edit window toolbar or hot key combinations.
For a toolbar button we would need an icon. If you have any suggestions, it could be easily added.
Putting it on the toolbar may be a bit too much, since that is for more commonly used functions and many folks don't like a cluttered
Sure, if ever, it won't be visible by default. But as long as there is no suitable icon, it's not worth talking about it.
toolbar. But having to go into to preferences to change it is too much work. I need to change it occasionally but not often enough to remember where it is buried in the preferences. (Preferences->Editor tab->Display tab->Show white space) How about making a 'Show white space' option available under the View menu?
Adding it to the View menu seems to me to be the same as adding toolbar items, at least partly. At some point it also feels bloated. But we could add a submenu to the View menu and put there editor related view options, like:
View->Editor->Show Whitespace View->Editor->Show indentation guides View->Editor->Show Line numbers View->Editor->Show Markers Margin
Sounds great to me! And since it only shows in the submenu, could you also include:
View->Editor->Show line endings
Thanks,
Bob S.
On Sat, 06 Dec 2008 10:06:08 -0800, Bob Snyder bob.snyder@cox.net wrote:
Enrico Tröger wrote:
On Sat, 06 Dec 2008 07:44:49 -0800, Bob Snyder bob.snyder@cox.net wrote:
Enrico Tröger wrote:
There does not seem to be hot keys or toolbar buttons for view whitespace or view line endings. I seem to have to go into the preferences to toggle on/off. Is there a way? I really need to toggle these from the edit window toolbar or hot key combinations.
For a toolbar button we would need an icon. If you have any suggestions, it could be easily added.
Putting it on the toolbar may be a bit too much, since that is for more commonly used functions and many folks don't like a cluttered
Sure, if ever, it won't be visible by default. But as long as there is no suitable icon, it's not worth talking about it.
toolbar. But having to go into to preferences to change it is too much work. I need to change it occasionally but not often enough to remember where it is buried in the preferences. (Preferences->Editor tab->Display tab->Show white space) How about making a 'Show white space' option available under the View menu?
Adding it to the View menu seems to me to be the same as adding toolbar items, at least partly. At some point it also feels bloated. But we could add a submenu to the View menu and put there editor related view options, like:
View->Editor->Show Whitespace View->Editor->Show indentation guides View->Editor->Show Line numbers View->Editor->Show Markers Margin
Sounds great to me! And since it only shows in the submenu, could you also include:
View->Editor->Show line endings
Done so in SVN. There is now a submenu View->Editor->... which holds all five mentioned settings. Additionally, I added the Line numbers and Markers margin settings to the prefs dialog to keep the settings in sync.
Regards, Enrico
Enrico Tröger wrote:
View->Editor->Show line endings
Done so in SVN. There is now a submenu View->Editor->... which holds all five mentioned settings. Additionally, I added the Line numbers and Markers margin settings to the prefs dialog to keep the settings in sync.
Just built from r3342 and the change works as advertised. Imo, this is a substantial improvement. Many thanks Enrico!
Bob S.