LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to change the selected text color in nedit? (https://www.linuxquestions.org/questions/linux-software-2/how-to-change-the-selected-text-color-in-nedit-158756/)

ICO 03-16-2004 10:20 PM

How to change the selected text color in nedit?
 
In nedit, the selected text color is blue by default. (in Java?)
And I want to change the color to yellow, I go through the .nedit file but I can't find the line I should make this change.

Can anyone tell me how?

Thanks in advance.

slakmagik 03-17-2004 12:54 AM

You can do it through the menus (if I understand what you want). Preferences>Default Settings>Colors>Selection Background. Foreground only works with highlighting disabled, but background's okay.

Or

~
1027>> grep -in color .nedit/nedit.rc
388:nedit.textFgColor: black
389:nedit.textBgColor: rgb:e5/e5/e5
390:nedit.selectFgColor: black
391:nedit.selectBgColor: rgb:cc/cc/cc
392:nedit.hiliteFgColor: white
393:nedit.hiliteBgColor: red
394:nedit.lineNoFgColor: black
395:nedit.cursorFgColor: black
~
1028>> vim +391 .nedit/nedit.rc

would be easier.

-- Make that

~
1029>> nedit +391 .nedit/nedit.rc

*lol* Habit.

ICO 03-18-2004 05:13 AM

It's wired that I don't have a .nedt directory, instead, I have a file called .nedit. However, I can't find the line that set the color in the .nedit file.

Also, in my Preferences>Default Settings, I don't have color option.

what's wrong?

slakmagik 03-18-2004 09:56 AM

What version of nedit are you using? Current is 5.4, I think.


All times are GMT -5. The time now is 12:45 AM.