Differences between revisions 18 and 41 (spanning 23 versions)
Revision 18 as of 2004-09-27 06:41:31
Size: 2524
Editor: limodou
Comment:
Revision 41 as of 2004-10-16 03:33:05
Size: 3922
Editor: limodou
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
含有章节索引的中文 文章模板 A flexible general editor with mixins and plugins, based on wxPython.
Line 8: Line 8:
= NewEdit项目 =
''前身为FlyEdit,后变成为NewEdit''
== 描述 ==
= NewEdit Project =
''First was FlyEdit based on Tcl/Tk, and later became NewEdit based on wxPython.''
Line 12: Line 11:
NewEdit 是一个测试性的项目。它基于大量的mixin和plugin。所以扩展它很容易。 You can check the Chinese Version of this wiki at NewEditCn.
== Description ==
Line 14: Line 14:
它是用Python + wxPython编写的。 NewEdit uses Mixin and Plugin technique as its architecture. Most of class can be extended via mixin and plugins components, and finally become an integrity class at creating the instance. So NewEdit is very dynamic. You can write the new feature in new files, and hardly need to modify the existed code. And if you want to extend the existed class, you could write mixins and plugins, and this will be bound the target class that I call them "Slot Class". This techinique will make the changes centralized and easy managed.
Line 16: Line 16:
最新的相关软件版本为: Requirements:
Line 18: Line 18:
 * Python 2.3.3  * Python 2.3+
Line 21: Line 21:
== 任务 == Some plugins may need additional conditions, please read the readme information before installing them.
Line 23: Line 23:
创建一个干净、强大的编辑器。并且扩展相当容易。 == Objective ==
Line 25: Line 25:
主要的特性: Make a clean, powerful, flexible general editor, and even an application framework. And extensibility should be much easily.
Line 27: Line 27:
 * 一个灵活的mixin和plugin框架
 * 用户可以加入自已的插件来处理文本
Tasks:
Line 30: Line 29:
== 项目文档 ==  * Mixin and Plugin framework
 * Unicode support
 * User defined plugin management
 * User costom window integration
Line 32: Line 34:
 [http://newedit.tigris.org/index.htm 文档链接] == Features ==
Line 34: Line 36:
== 截屏 ==  * Cross platform
   based on wxPython, so it can run anywhere that wxPython works, just like: windows, linux.
 * Most features of wxStyledTextCtrl(Scintilla)
   * Syntax highlighting, support Python, c/c++, html, plain text
   * Folding
   * Brace Matching
   * ...
 * Extented selection
   * Extended word selection -- You can press Ctrl+MouseDoubleClick to select a word including '.'
   * Matched selection -- Select text in quoted chars like: (), [], {}, `''`, `""`.
     For example: a string just like
     {{{
        def func(self, 'This is a test'):
                      ^
     }}}
     The '^' char represents caret position in above line. If you press Ctrl+E, you will select the whole text in (),
     i.e. "self, 'This is a test'"
       
== Documents ==
Line 36: Line 56:
attachment:newedit_2_6_1.jpg  [http://newedit.tigris.org/index.htm online document]
Line 38: Line 58:
== 软件下载 == == Download ==
Line 40: Line 60:
本软件现存于tigris.org站点上, [http://newedit.tigris.org 项目地址] Project CVS [http://newedit.tigris.org In Tigris]
Line 42: Line 62:
 * [http://newedit.tigris.org/servlets/ProjectDocumentList?folderID=3066 软件下载区]
 * [http://newedit.tigris.org/servlets/ProjectDocumentList?folderID=3068 Script下载区]
 * [http://newedit.tigris.org/servlets/ProjectDocumentList?folderID=3069 Plugin下载区]
The newest version download:
Line 46: Line 64:
最新版本下载:  * 2.8 release 1 Windows version attachment:NewEdit2.8.exe
 * 2.8 release 1 Source attachment:newedit_2.8r1.zip
Line 48: Line 67:
 * 2.7 release 2 Windows attachment:NewEdit2.7r2.exe  * 2.7 release 2 Windows version attachment:NewEdit2.7r2.exe
Line 51: Line 70:
 * 2.7 release 1 Windows版 attachment:NewEdit2.7.exe
 * 2.7 release 1 Source attachment:newedit_2.7r1.zip
== ScreenShot ==
Visit: NewEditScreenShot
Line 54: Line 73:
 * 2.6.1 release 1 Windows版 attachment:NewEdit2.6.1.exe
 * 2.6.1 release 1 Source attachment:newedit_2.6.1r1.zip
== Contribute ==
Line 57: Line 75:
== 如何得到最新源码 == Some people have write there own plugins, and have shared them. This is a collection, you can visit the link if you like:
Line 59: Line 77:
得到最新的 NewEdit 源码很容易。你可以按照http://newedit.tigris.org/servlets/ProjectSource所说的去做。下面是我列出的步骤: ||'''Plugin Name'''||'''Author'''||'''Version'''||'''Project Link'''||'''Description'''||
||[http://wiki.woodpecker.org.cn/moin.cgi/_e5_a4_a9_e6_88_90?action=AttachFile&do=get&target=musicplayv1.2.rar MusicPlay]||天成(DreamingK)||1.2||[http://wiki.woodpecker.org.cn/moin.cgi/_e5_a4_a9_e6_88_90#head-41b71c1ed10d5de76fb84e5e37224c8c9323b7da MusicPlay]||Use PySonic and fmod to play music, just like mp3, wma, wav, etc.||
||[http://wiki.woodpecker.org.cn/moin.cgi/NewEdit_e8_a1_a5_e5_85_85_e6_8f_92_e4_bb_b6?action=AttachFile&do=get&target=RemoveAllRecentFiles.rar RemoveAllRecentFiles]||tianyu263(望月)||1.0||[http://wiki.woodpecker.org.cn/moin.cgi/NewEdit_e8_a1_a5_e5_85_85_e6_8f_92_e4_bb_b6#head-7e716015b83664eef36b73ee81f51ec1c3180093 RemoveAllRecentFiles]||NewEdit Menu(File) add '''Remove all recent files''' sub-menu.||
Line 61: Line 81:
1. 你应该有一个cvs工具。我建议使用命令行工具,如:cvs.exe。在Windows下,你可以从http://www.cvshome.org上下载或如果你安装了cygwin,则其中已经包含它了。 == What people say ==
Line 63: Line 83:
2. 第一次: ''Write down your opinions''
Line 65: Line 85:
首先要登录: ----
Line 67: Line 87:
{{{
cvs -d :pserver:[email protected]:/cvs login
}}}
== FAQ ==
Line 71: Line 89:
然后checkout出模块:  1. How to get the newest source code from cvs
Line 73: Line 91:
{{{
cvs -d :pserver:[email protected]:/cvs checkout newedit
}}}
 You can visit [http://www.donews.net/limodou/archive/2004/09/27/112184.aspx How to get the newest source code from cvs]. Or visit http://newedit.tigris.org/servlets/ProjectSource and follow the instructions.
Line 77: Line 93:
这样将会在你的当前目录下创建一个newedit的目录。最新的源码就在里面。这一步应该只执行一次,除非你改变了目录。

3. 第二次和后面

进入以前使用checkout创建出来的newedit目录,然后只要执行:

{{{
cvs update
}}}

就可以了。

== 截屏 ==
 访问:NewEditScreenShot 查看NewEdit的样子

A flexible general editor with mixins and plugins, based on wxPython.

-- limodou [DateTime(2004-08-15T21:24:42Z)] TableOfContents

NewEdit Project

First was FlyEdit based on Tcl/Tk, and later became NewEdit based on wxPython.

You can check the Chinese Version of this wiki at NewEditCn.

Description

NewEdit uses Mixin and Plugin technique as its architecture. Most of class can be extended via mixin and plugins components, and finally become an integrity class at creating the instance. So NewEdit is very dynamic. You can write the new feature in new files, and hardly need to modify the existed code. And if you want to extend the existed class, you could write mixins and plugins, and this will be bound the target class that I call them "Slot Class". This techinique will make the changes centralized and easy managed.

Requirements:

  • Python 2.3+
  • wxPython 2.4.2.4+ Unicode Version

Some plugins may need additional conditions, please read the readme information before installing them.

Objective

Make a clean, powerful, flexible general editor, and even an application framework. And extensibility should be much easily.

Tasks:

  • Mixin and Plugin framework
  • Unicode support
  • User defined plugin management
  • User costom window integration

Features

  • Cross platform
    • based on wxPython, so it can run anywhere that wxPython works, just like: windows, linux.
  • Most features of wxStyledTextCtrl(Scintilla)
    • Syntax highlighting, support Python, c/c++, html, plain text
    • Folding
    • Brace Matching
    • ...
  • Extented selection
    • Extended word selection -- You can press Ctrl+MouseDoubleClick to select a word including '.'

    • Matched selection -- Select text in quoted chars like: (), [], {}, '', "".

      • For example: a string just like
                def func(self, 'This is a test'):
                              ^
        The '^' char represents caret position in above line. If you press Ctrl+E, you will select the whole text in (), i.e. "self, 'This is a test'"

Documents

Download

Project CVS [http://newedit.tigris.org In Tigris]

The newest version download:

  • 2.8 release 1 Windows version attachment:NewEdit2.8.exe

  • 2.8 release 1 Source attachment:newedit_2.8r1.zip
  • 2.7 release 2 Windows version attachment:NewEdit2.7r2.exe

  • 2.7 release 2 Source attachment:newedit_2.7r2.zip

ScreenShot

Visit: NewEditScreenShot

Contribute

Some people have write there own plugins, and have shared them. This is a collection, you can visit the link if you like:

Plugin Name

Author

Version

Project Link

Description

[http://wiki.woodpecker.org.cn/moin.cgi/_e5_a4_a9_e6_88_90?action=AttachFile&do=get&target=musicplayv1.2.rar MusicPlay]

天成(DreamingK)

1.2

[http://wiki.woodpecker.org.cn/moin.cgi/_e5_a4_a9_e6_88_90#head-41b71c1ed10d5de76fb84e5e37224c8c9323b7da MusicPlay]

Use PySonic and fmod to play music, just like mp3, wma, wav, etc.

[http://wiki.woodpecker.org.cn/moin.cgi/NewEdit_e8_a1_a5_e5_85_85_e6_8f_92_e4_bb_b6?action=AttachFile&do=get&target=RemoveAllRecentFiles.rar RemoveAllRecentFiles]

tianyu263(望月)

1.0

[http://wiki.woodpecker.org.cn/moin.cgi/NewEdit_e8_a1_a5_e5_85_85_e6_8f_92_e4_bb_b6#head-7e716015b83664eef36b73ee81f51ec1c3180093 RemoveAllRecentFiles]

NewEdit Menu(File) add Remove all recent files sub-menu.

What people say

Write down your opinions


FAQ

  1. How to get the newest source code from cvs

    You can visit [http://www.donews.net/limodou/archive/2004/09/27/112184.aspx How to get the newest source code from cvs]. Or visit http://newedit.tigris.org/servlets/ProjectSource and follow the instructions.

NewEdit (last edited 2009-12-25 07:13:58 by localhost)