Cynosure.X International LLC

:

Add Comment | Related Links | TrackBack
Related Content

Disabling Syntax Highlight in NEdit

It seems that the whole software development industry loves the syntax highlighting that many IDE offers. Personally, I hate it. I find it distracting. And it, of course, never formats the code MY way. Some of them do provide customization. But it's a waste of time to customize it on one system, because I usually move between several system on a daily basis. It's unlikely for me to even use the same text editor throughout the day. Today, it is difficult to find a text editor that doesn't do syntax highlighting. Even the basic xedit now starts with syntax highlighting by default.

Sure, some people would say I could just get rid of the language selection in the first line of the source code. But don't forget, we usually work on teams with other developers--developers who can't go on living without syntax highlighting. And many times, I'm viewing or editing other developer's codes.

Lately, I've been working at a site away from my home base. Even though I am still running on my computer remotely, my typical kedit kept slowing me down by opening "DCOP communication error (KDE)" dialog box, which forces me to click the "OK" button. Apparently kedit and gedit can't handle the multiple remote connections, configuration management shell on top of csh, etc.

Luckily, for me, I found that NEdit is installed on my computer. By default NEdit also does syntax highlighting. And once it syntax highlights the code, it just takes up way too much screen space on my netbook. But the nice things about NEdit is that it lets you select a language mode for syntax highlight. You can turn off the syntax highlight by specifying that you are editing text. There is no such selection in the menus, but you can specify it via the command-line flag. Simply specify the "-lm text" flag on the command-line and you can edit your source code in plain vanilla text.

Chieh Cheng
Sun, 12 Apr 2009 14:46:21 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 5 + 9?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

129 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.