This is for text files.
Thanks
Want to change the background color of the current line
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Nicholas Jordan
- Posts: 124
- Joined: Mon Dec 20, 2004 12:33 am
- Location: Central Texas ISO Latin-1
- Contact:
Preferences
Configure/Preferences/Document Classes/Default/Colors
Configure/Preferences/Document Classes/HTML/Colors
Configure/Preferences/Document Classes/JavaScript/Colors
Configure/Preferences/Document Classes/HotHarold/Colors
There is no HotHarold programming language, but you can put the one you want there.
Configure/Preferences/Document Classes/HTML/Colors
Configure/Preferences/Document Classes/JavaScript/Colors
Configure/Preferences/Document Classes/HotHarold/Colors
There is no HotHarold programming language, but you can put the one you want there.
Re: Preferences
How is that an answer to my question?Nicholas Jordan wrote:Configure/Preferences/Document Classes/Default/Colors
Configure/Preferences/Document Classes/HTML/Colors
Configure/Preferences/Document Classes/JavaScript/Colors
Configure/Preferences/Document Classes/HotHarold/Colors
There is no HotHarold programming language, but you can put the one you want there.
Dick
- Nicholas Jordan
- Posts: 124
- Joined: Mon Dec 20, 2004 12:33 am
- Location: Central Texas ISO Latin-1
- Contact:
There seems to be a bug in the Preferences dialog for color. Here's how to see it: put some text in a window and select a line, then go to Configure | Preferences | Document Classes | Text | Colors. Select the first line, Window background, and set it to light gray, then click Apply. The entire window will go gray except the current line, which has a white background.
Then scroll the color list to Current Line. It will show a yellow foreground and a gray background, both of which are wrong. The Apply button will be inactive. Select the Background dropdown list and re-select the same shade of gray. The Apply button will still be inactive.
To work around this, set the Current Line background color to something else, like red, and Apply. Then set it to the (e.g.) gray you want, then Apply again, and everything will be work as intended.
Background should mean Background, not Background Except For The Current Line, IMO.
Then scroll the color list to Current Line. It will show a yellow foreground and a gray background, both of which are wrong. The Apply button will be inactive. Select the Background dropdown list and re-select the same shade of gray. The Apply button will still be inactive.
To work around this, set the Current Line background color to something else, like red, and Apply. Then set it to the (e.g.) gray you want, then Apply again, and everything will be work as intended.
Background should mean Background, not Background Except For The Current Line, IMO.
The intended behaviour seems to be that the "Window background" colour applies to all the items except those for which a different background colour has been selected. For example, if you change "Brackets" to have a red background and then change the window background to light blue, your brackets will still have a red background, even though most other items will now have a light blue one.
By default, "Window background" is white, but "Current line", "Selected text" and "Selected text (no focus)" have a different background colour set. The default "Current line" background is RGB(255,251,240), a very light orange, which is why it appears to remain "white" when you change the window background to light grey.
I can reproduce the bug you described though. When you select a "Window background" colour, all the items in the dialog reflect that colour, even though the items for which a different background colour has been selected should not.
By default, "Window background" is white, but "Current line", "Selected text" and "Selected text (no focus)" have a different background colour set. The default "Current line" background is RGB(255,251,240), a very light orange, which is why it appears to remain "white" when you change the window background to light grey.
I can reproduce the bug you described though. When you select a "Window background" colour, all the items in the dialog reflect that colour, even though the items for which a different background colour has been selected should not.