MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 5 posts ] 
ne Editor question, MEPIS 8 
Author Message
Forum Regular
Forum Regular

Joined: Wed Aug 02, 2006 12:12 pm
Posts: 684
Has thanked: 197 times
Have thanks: 13 times
Post # 297825
Post ne Editor question, MEPIS 8
Does anybody have an idea on how to turn off the colors on this editor
ne 2.1 ?

I am editting an AWK script file. This language is not one of the languages supported by this editor. So the color just makes it hard to read. I have already searched through the documentation under the .ne hidden folder.

I doubt there is a way to toggle the use of color on/off. But it would be nice, so I just thought I'd ask if anybody has any ideas. I already tried Ctrl-C.


Wed Mar 28, 2012 11:30 am
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sun Apr 29, 2007 11:53 am
Posts: 2807
Location: Stockholm, Sweden
Has thanked: 884 times
Have thanks: 692 times
Post # 297827
Post Re: ne Editor question, MEPIS 8
In the documentation on the ne homepage http://ne.dsi.unimi.it/ there's a whole chapter (3.6) about syntax highlighting. You have to create your own definition if you want anything special and store it in ˜/.ne/syntax
Henry


Wed Mar 28, 2012 12:00 pm
Profile
Forum Regular
Forum Regular

Joined: Wed Aug 02, 2006 12:12 pm
Posts: 684
Has thanked: 197 times
Have thanks: 13 times
Post # 297873
Post Re: ne Editor question, MEPIS 8
I modified /home/user/ne-2.1/syntax/awk.jsf to make all the non-black colors black. But it did not change the colors the next time I used ne. So I don't understand what the point of this file is.

However, I did change the Konsole background in Settings.....Schema to a light-colored background.That allows me to read the colored text atop a white background.


Thu Mar 29, 2012 8:56 am
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sun Apr 29, 2007 11:53 am
Posts: 2807
Location: Stockholm, Sweden
Has thanked: 884 times
Have thanks: 692 times
Post # 297874
Post Re: ne Editor question, MEPIS 8  [Solved]
There's one more thing you can try (also found in the documentation):
Quote:
If you invoke ne with the --no-syntax parameter, ne will disable the syntax highlighting mechanism entirely

Henry


Thu Mar 29, 2012 9:03 am

Utopia thanked by: eemaestro, lucky9
Profile
Forum Regular
Forum Regular

Joined: Wed Aug 02, 2006 12:12 pm
Posts: 684
Has thanked: 197 times
Have thanks: 13 times
Post # 298054
Post Re: ne Editor question, MEPIS 8
Thanks, Henry. That worked great!


Sat Mar 31, 2012 5:44 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.