Size: 1154
Comment: snapNE-2.4r1.gif
|
← Revision 156 as of 2009-12-25 07:13:58 ⇥
Size: 7583
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
含有章节索引的中文 文章模板 | A flexible, general editor with mixins and plugins, which uses wxPython. |
Line 5: | Line 5: |
## 调整了 wiki 的权限,你现在是管理员可以删除文件什么的了……总是忙乱忘记处理 -- limodou [<<DateTime>>] <<TableOfContents>> = UliPad Project(Old NewEdit) = ''First was FlyEdit based on Tcl/Tk, and later became NewEdit based on wxPython. And now it's UliPad.'' |
|
Line 6: | Line 11: |
-- limodou [[[DateTime(2004-08-15T21:24:42Z)]]] [[TableOfContents]] = NewEdit项目 = ''前身为FlyEdit,后变成为NewEdit'' == 描述 == |
UliPad, this name comes from Claudio Grondi, thanks you. |
Line 12: | Line 13: |
NewEdit 是一个测试性的项目。它基于大量的mixin和plugin。所以扩展它很容易。 | == Description == |
Line 14: | Line 15: |
它是用Python + wxPython编写的。 | UliPad(NewEdit) uses Mixin and Plugin technique as its architecture. Most of its classes can be extended via mixin and plugin components, and finally become an integrity class at creating the instance. So UliPad(NewEdit) is very dynamic. You can write the new features in new files, and hardly need to modify the existing code. And if you want to extend the existing classes, you could write mixins and plugins, and this will be bound to the target class that I call "Slot Class". This technique will make the changes centralized and easily managed. |
Line 16: | Line 17: |
最新的相关软件版本为: | Requirements: |
Line 18: | Line 19: |
* Python 2.3.3 | * Python 2.3+ |
Line 21: | Line 22: |
== 任务 == | Some plugins may have additional requirements, please read the readme information before installing them. |
Line 23: | Line 24: |
创建一个干净、强大的编辑器。并且扩展相当容易。 | == Objective == |
Line 25: | Line 26: |
主要的特性: | Make a clean, powerful, flexible general editor, and even an application framework. And adding extensions should be very easy. |
Line 27: | Line 28: |
* 一个灵活的mixin和plugin框架 * 用户可以加入自已的插件来处理文本 |
Tasks: |
Line 30: | Line 30: |
attachment:snapNE-2.4r1.gif | * Mixin and Plugin framework * Unicode support * User defined plugin management * User custom window integration * User custom wizard function |
Line 32: | Line 36: |
== 项目文档 == | == Features == |
Line 34: | Line 38: |
[http://newedit.tigris.org/index.htm 文档链接] | * '''Cross platform''' * based on wxPython, so it can run anywhere that wxPython works, such as: Windows, Linux. * Unicode support. * '''Most features of wxStyledTextCtrl(Scintilla)''' * Syntax highlighting, support Python, c/c++, html, plain text * Folding * Brace Matching * ... * '''Extended 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'". Something more in Selection Menu. * '''Other editing extension''' * Duplicating text -- Just like Vim Ctrl+V, Ctrl+P, and more. You can duplicate above or below char, word, line which match the leading chars. * Quoting text -- Add some quoted chars before and after selected text, just as: `""`, `''`, (), [], {}, and customized string, etc. * Text convertion and view -- python -> html, reStructured Text -> html, textile -> html, and you can output or view the html text in message window, or html view window, or replace the selected text. * Utf-8 encoding auto detect * Changing document encoding * Auto backup * Last session support -- It'll save all the filenames as closed, and reopen the files as next started. * Smart judge the indent char -- It'll auto guess the indent char, and sets it. * Finding in files * Bookmark support * '''Python support''' * built-in python interactive window based on PyShell, support Unicode * Auto completion * Function syntax calltips * Run, run with argument, stop python source * Auto change current path * Python class browser * '''Code snippets''' You can manage your code snippets with categories, and each category can have many items. Every item will represent a code snippet. You can insert an item just by double-clicking on it. It even supports importing and exporting. * '''Simple project support''' Can create a special file _project, so every file and folder under the folder which has the _project can be considered as a whole project. * '''Extension mechanism''' * Script -- You can write easy script to manipulate the all resource of UliPad(NewEdit), just like: text conversion, etc. * Plugin -- Customized function. More complex but more powerful. Can easily merge with UliPad(NewEdit), and can be managed via menu. * Shell command -- Add often used shell commands, and execute them. * '''Ftp support''' You can edit remote files through ftp. You can add, rename, delete, upload, download file/directory. * '''Multilanguage support''' Currently supports two languages: English and Chinese, which can be auto-detected. * '''Shipped plugins'''(must be configed as used them before) * Blog editor -- You can use UliPad(NewEdit) to edit your blog, but this funcation not be wildly tested. * Document links -- Python documentation and wxPython documentation. * Many plugins can be found at UliPad(NewEdit) wiki page. * '''Shipped scripts''' * Many scripts can be found at UliPad(NewEdit) wiki page. * '''Wizard''' (New) You can make your own wizard template. The wizard can input user data, combine with template, and output the result. And wizard also support code framework created. This feature will help you improving coding efficiency. * '''Direcotry Browser'''(New) Browse multiple directories, and you can really add, delete, rename directories and files. Double click will open the file in Editor window. * '''AutoComPlete(acp)'''(New) Suport user autocomplete file, it can help to input code very helpful and functional. Just like EditPlus, but may be more powerful. * '''Column Editing Mode'''(New) You can select multilines, and then set a column mode region, so in any line of this region, if you enter a character, other lines will also add this character. If you want to deal with multilines as a similar mode, this functionality will be very handy. More features are in development... |
Line 36: | Line 108: |
== 软件下载 == | == Documents == |
Line 38: | Line 110: |
本软件现存于tigris.org站点上, [http://newedit.tigris.org 项目地址] | Many documents ship with UliPad/NewEdit source code, and you can also find other document on [[http://www.donews.net/limodou|my blog]]. |
Line 40: | Line 112: |
* [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下载区] |
== Download == Project SVN http://cvs.woodpecker.org.cn/svn/woodpecker/newedit In Woodpacker.org -- new Trac Page http://cvs.woodpecker.org.cn/trac/browser/newedit/ Suggest: '''Always download the newest source code from svn.''' Project CVS [[http://newedit.tigris.org|In Tigris]] -- old UliPad(NewEdit) introduce powerpoint [[attachment:NewEdit.ppt]] The newest version download: * the newest version please download from UliPad page * lastest exe version [[attachment:NewEdit3.2.exe]] 2006/01/17 updated * lastest source version [[attachment:newedit_3.2.zip]] 2006/01/18 updated * current snapshot version [[attachment:snapshot_ulipad.zip]] '''2006/08/22''' updated == Maillist == * http://groups.google.com/group/UliPad * http://groups.google.com/group/NewEdit (old) == ScreenShot == Visit: NewEditScreenShot == Contribute == Some people have written their own plugins, and have shared them. This is a collection, visit the links if you like: <<Include(NewEditPlugins)>> <<Include(NewEditScripts)>> <<Include(NewEditWizards)>> <<Include(NewEditSnippets)>> <<Include(NewEditAcps)>> <<Include(NewEditPackages)>> <<Include(NewEditTutorial)>> <<Include(NewEditResearch)>> == Plugins depend on == Some plugins need the third party module preinstall, so if you want to use plugins, you should see [[attachment:modulesinfo.html]] first, and download & install the depend on modules first. == What people say == ''Write down your opinions'' |
A flexible, general editor with mixins and plugins, which uses wxPython.
-- limodou [2025-06-13 09:29:01]
Contents
1. UliPad Project(Old NewEdit)
First was FlyEdit based on Tcl/Tk, and later became NewEdit based on wxPython. And now it's UliPad.
UliPad, this name comes from Claudio Grondi, thanks you.
1.1. Description
UliPad(NewEdit) uses Mixin and Plugin technique as its architecture. Most of its classes can be extended via mixin and plugin components, and finally become an integrity class at creating the instance. So UliPad(NewEdit) is very dynamic. You can write the new features in new files, and hardly need to modify the existing code. And if you want to extend the existing classes, you could write mixins and plugins, and this will be bound to the target class that I call "Slot Class". This technique will make the changes centralized and easily managed.
Requirements:
- Python 2.3+
- wxPython 2.4.2.4+ Unicode Version
Some plugins may have additional requirements, please read the readme information before installing them.
1.2. Objective
Make a clean, powerful, flexible general editor, and even an application framework. And adding extensions should be very easy.
Tasks:
- Mixin and Plugin framework
- Unicode support
- User defined plugin management
- User custom window integration
- User custom wizard function
1.3. Features
Cross platform
- based on wxPython, so it can run anywhere that wxPython works, such as: Windows, Linux.
- Unicode support.
Most features of wxStyledTextCtrl(Scintilla)
- Syntax highlighting, support Python, c/c++, html, plain text
- Folding
- Brace Matching
- ...
Extended 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'". Something more in Selection Menu.
- For example: a string just like
Other editing extension
- Duplicating text -- Just like Vim Ctrl+V, Ctrl+P, and more. You can duplicate above or below char, word, line
- which match the leading chars.
Quoting text -- Add some quoted chars before and after selected text, just as: "", '', (), [], {}, and
- customized string, etc.
Text convertion and view -- python -> html, reStructured Text -> html, textile -> html, and you can output or view
- the html text in message window, or html view window, or replace the selected text.
- Utf-8 encoding auto detect
- Changing document encoding
- Auto backup
- Last session support -- It'll save all the filenames as closed, and reopen the files as next started.
- Smart judge the indent char -- It'll auto guess the indent char, and sets it.
- Finding in files
- Bookmark support
- Duplicating text -- Just like Vim Ctrl+V, Ctrl+P, and more. You can duplicate above or below char, word, line
Python support
built-in python interactive window based on PyShell, support Unicode
- Auto completion
- Function syntax calltips
- Run, run with argument, stop python source
- Auto change current path
- Python class browser
Code snippets
- You can manage your code snippets with categories, and each category can have many items. Every item will represent a code snippet. You can insert an item just by double-clicking on it. It even supports importing and exporting.
Simple project support
- Can create a special file _project, so every file and folder under the folder which has the _project can be considered as a whole project.
Extension mechanism
Script -- You can write easy script to manipulate the all resource of UliPad(NewEdit), just like: text conversion, etc.
Plugin -- Customized function. More complex but more powerful. Can easily merge with UliPad(NewEdit), and can be
- managed via menu.
- Shell command -- Add often used shell commands, and execute them.
Ftp support
- You can edit remote files through ftp. You can add, rename, delete, upload, download file/directory.
Multilanguage support
- Currently supports two languages: English and Chinese, which can be auto-detected.
Shipped plugins(must be configed as used them before)
Shipped scripts
Many scripts can be found at UliPad(NewEdit) wiki page.
Wizard (New)
- You can make your own wizard template. The wizard can input user data, combine with template, and output the result. And wizard also support code framework created. This feature will help you improving coding efficiency.
Direcotry Browser(New)
- Browse multiple directories, and you can really add, delete, rename directories and files. Double click will open the file in Editor window.
AutoComPlete(acp)(New)
Suport user autocomplete file, it can help to input code very helpful and functional. Just like EditPlus, but may be more powerful.
Column Editing Mode(New)
- You can select multilines, and then set a column mode region, so in any line of this region, if you enter a character, other lines will also add this character. If you want to deal with multilines as a similar mode, this functionality will be very handy.
More features are in development...
1.4. Documents
Many documents ship with UliPad/NewEdit source code, and you can also find other document on my blog.
1.5. Download
Project SVN http://cvs.woodpecker.org.cn/svn/woodpecker/newedit In Woodpacker.org -- new
Trac Page http://cvs.woodpecker.org.cn/trac/browser/newedit/
Suggest:
Always download the newest source code from svn.
Project CVS In Tigris -- old
UliPad(NewEdit) introduce powerpoint NewEdit.ppt
The newest version download:
the newest version please download from UliPad page
lastest exe version NewEdit3.2.exe 2006/01/17 updated
lastest source version newedit_3.2.zip 2006/01/18 updated
current snapshot version snapshot_ulipad.zip 2006/08/22 updated
1.6. Maillist
1.7. ScreenShot
Visit: NewEditScreenShot
1.8. Contribute
Some people have written their own plugins, and have shared them. This is a collection, visit the links if you like:
1.8.1. Plugins
Plugin Name |
Author |
Version |
Project Link |
Description |
天成(DreamingK) |
1.2 |
Use PySonic and fmod to play music, just like mp3, wma, wav, etc. |
||
tianyu263(望月) |
1.0 |
NewEdit Menu(File) add Remove all recent files sub-menu. |
||
limodou |
1.0 |
|
可以在NewEdit中嵌入一个Dos窗口(windows) |
|
limodou |
1.0 |
|
Invoke WinPdb to debug your program |
|
limodou |
1.0 |
|
Edit your blog in NewEdit |
|
limodou |
1.0 |
|
Check python source code syntax |
|
limodou |
1.0 |
|
View Python document(windows) |
|
limodou |
1.0 |
|
Using M$'s tts engine to read the document(windows) |
|
limodou |
1.0 |
|
Check python source code syntax |
|
limodou |
1.0 |
|
Wizard function |
|
limodou |
1.0 |
|
Django project plugin |
1.9. Plugins depend on
Some plugins need the third party module preinstall, so if you want to use plugins, you should see modulesinfo.html first, and download & install the depend on modules first.
1.10. What people say
Write down your opinions