Size: 2510
Comment:
|
Size: 3922
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
''前身为FlyEdit,后变成为NewEdit'' | ''First was FlyEdit based on Tcl/Tk, and later became NewEdit based on wxPython.'' |
Line 12: | Line 12: |
== 描述 == | == Description == |
Line 14: | Line 14: |
NewEdit 是一个测试性的项目。它基于大量的mixin和plugin。所以扩展它很容易。 | 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: |
它是用Python + wxPython编写的。 | Requirements: |
Line 18: | Line 18: |
最新的相关软件版本为: * Python 2.3.3 |
* Python 2.3+ |
Line 23: | Line 21: |
== 任务 == | Some plugins may need additional conditions, please read the readme information before installing them. |
Line 25: | Line 23: |
创建一个干净、强大的编辑器。并且扩展相当容易。 | == Objective == |
Line 27: | Line 25: |
主要的特性: | Make a clean, powerful, flexible general editor, and even an application framework. And extensibility should be much easily. |
Line 29: | Line 27: |
* 一个灵活的mixin和plugin框架 * 用户可以加入自已的插件来处理文本 |
Tasks: |
Line 32: | Line 29: |
== 项目文档 == | * Mixin and Plugin framework * Unicode support * User defined plugin management * User costom window integration |
Line 34: | Line 34: |
[http://newedit.tigris.org/index.htm 文档链接] | == Features == |
Line 36: | 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 38: | Line 56: |
attachment:newedit_2_6_1.jpg | [http://newedit.tigris.org/index.htm online document] |
Line 40: | Line 58: |
== 软件下载 == | == Download == |
Line 42: | Line 60: |
本软件现存于tigris.org站点上, [http://newedit.tigris.org 项目地址] | Project CVS [http://newedit.tigris.org In Tigris] |
Line 44: | 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 48: | Line 64: |
最新版本下载: * 2.8 release 1 Windows版 attachment:NewEdit2.8.exe |
* 2.8 release 1 Windows version attachment:NewEdit2.8.exe |
Line 53: | Line 67: |
* 2.7 release 2 Windows版 attachment:NewEdit2.7r2.exe | * 2.7 release 2 Windows version attachment:NewEdit2.7r2.exe |
Line 56: | Line 70: |
== 如何得到最新源码 == | == ScreenShot == Visit: NewEditScreenShot |
Line 58: | Line 73: |
得到最新的 NewEdit 源码很容易。你可以按照 http://newedit.tigris.org/servlets/ProjectSource 所说的去做。下面是我列出的步骤: | == Contribute == |
Line 60: | Line 75: |
1. 你应该有一个cvs工具。我建议使用命令行工具,如:cvs.exe。在Windows下,你可以从 http://www.cvshome.org 上下载或如果你安装了cygwin,则其中已经包含它了。 | Some people have write there own plugins, and have shared them. This is a collection, you can visit the link if you like: |
Line 62: | Line 77: |
2. 第一次: | ||'''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 64: | Line 81: |
首先要登录: | == What people say == |
Line 66: | Line 83: |
{{{ cvs -d :pserver:[email protected]:/cvs login }}} |
''Write down your opinions'' |
Line 70: | Line 85: |
然后checkout出模块: | ---- |
Line 72: | Line 87: |
{{{ cvs -d :pserver:[email protected]:/cvs checkout newedit }}} |
== FAQ == |
Line 76: | Line 89: |
这样将会在你的当前目录下创建一个newedit的目录。最新的源码就在里面。这一步应该只执行一次,除非你改变了目录。 | 1. How to get the newest source code from cvs |
Line 78: | Line 91: |
3. 第二次和后面 | 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 80: | Line 93: |
进入以前使用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'"
- For example: a string just like
Documents
[http://newedit.tigris.org/index.htm online document]
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
- 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.