找回密码
 注册
搜索
热搜: 回贴
微赢网络技术论坛 门户 服务器 Linux/BSD 查看内容

Nedit 编辑器

2009-12-20 13:49| 发布者: admin| 查看: 119| 评论: 0|原作者: 江月


nedit
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://imgsrc.baidu.com/baike/abpic/item/263e802fbb1b6f2b1f30890c.jpg');}" onmousewheel="return imgzoom(this);" alt="" />
  NEdit, the Nirvana editor, is a popular text editor and source code editor for the X Window System. It has an interface similar to text editors on Microsoft Windows and Macintosh, rather than to older UNIX editors like Emacs. It was initially developed by Mark Edel for Fermilab and released under a restricted licence, but today it is distributed under the GNU General Public License (plus Motif clause¹), and developed as an independent open source project by a team of developers.
  NEdit is extensible through a C-like macro language, and features automatic indentation and syntax highlighting for a wide variety of computer languages. Its user interface is made using the Motif toolkit. NEdit can also process tags files generated using the Unix ctags command or the Exuberant Ctags program.
  NEdit
  NEdit看上去似乎更多地是为了那些编写代码的人而设计的,而不是用于编辑文章或者是粗浅的HTML页面。我没有发现任何工具栏或者是单击的HTML代码编写按钮,也没有像拼写检查这样一个作者或者是编辑所需要的功能。
  九款Linux文本编辑器全接触
  图6 NEdit简洁的界面下包含了强大的代码编写功能
  NEdit也有可记录的宏,这为它加了不少分,它的宏编写功能也非常强大。它的搜索和替换功能也很精密,这对于开发者来说也是很有意义的。我喜欢它的“Make Backup Copy”(制作备份拷贝)以及“Incremental Backup”(增量备份)功能。而不能是用Home和End键来转到行首或者行尾,这让我感到确实还是Windows给我们带来的一个方便之处。
  NEdit也有一些功能是用于简单的文本操作。在研究如何创建宏加入到行的过程中,我在网络上看到了这样一段代码:
  set_cursor_pos(search("^", $cursor, "regex", "backward"))
  s = $cursor
  process_up()
  set_cursor_pos(search("[^ \t]", $cursor, "regex"))
  process_down()
  select(s,$cursor)
  indent = get_selection()
  delete_selection()
  insert_string(" ")
  backward_character()
  backward_character()
  delete_next_character()
  set_cursor_pos(search("^", $cursor, "regex"))
  insert_string(indent"\n")
  backward_character()
  这比起点击工具栏上的“加入行”命令来说,要耗费的精力就大得多了。
  如果你想要找的是一些简洁而又功能强大的工具,NEdit会是一个不错的选择。如果NEdit是我唯一可用的工具的话,我想我还是能够用它来做很多我所需要的事。然而,现在有很多其它可用的编辑器,它也就不会成为我所选择的工具了。
  -----下面评分只供参考,无科学依据
  NEdit的评分:
  使用的简易程度
  6
  外观
  6
  内容编辑
  5
  简易HTML编辑
  5
  自定义
  7
  总分
  29




最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 01:39 , Processed in 0.152159 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部