Editplus 3.0 开发ext 教程


一. 代码格式化

代码格式化工具SourceFormatX 破解版下载:
http://cn.ziddu.com/download.php?uid=bLOdlpetbLKh4palaLKWlJqiaK%2BcnJ0%3D8

editplus配置方法:

1212645661-clip-11kb.png

二. html模板(template.html)
None.gif<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
None.gif    "http://www.w3.org/TR/html4/loose.dtd"
>
None.gif
<html>
None.gif
<head>
None.gif    
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
None.gif    
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/ext-all.css">
None.gif    
<script type="text/javascript" src="../extjs/adapter/ext/ext-base.js"></script>
None.gif    
<script type="text/javascript" src="../extjs/ext-all-debug.js"></script>
None.gif    
<script type="text/javascript" src="applayout.js"></script>
None.gif    
<!-- 本地化的脚本引用在这里 -->
ExpandedBlockStart.gifContractedBlock.gif    
<script type="text/javascript">dot.gif
InBlock.gif        Ext.onReady(myNameSpace.app.init, myNameSpace.app);
ExpandedBlockEnd.gif    
</script>
None.gif    
<title>Application Layout Tutorial</title>
None.gif
</head>
None.gif
<body>
None.gif
</body>
None.gif
</html>


javascript 模板 (template.js)
ExpandedBlockStart.gif ContractedBlock.gif /**/ /**
InBlock.gif  * Application Layout
InBlock.gif  * by Jozef Sakalos, aka Saki
InBlock.gif  * http://extjs.com/learn/Tutorial:Application_Layout_for_Beginners_(Chinese)
ExpandedBlockEnd.gif  
*/

ExpandedBlockStart.gifContractedBlock.gif
/**/ /**
InBlock.gif------------------------------------------------
InBlock.gif中文用户请注意:applayout.js 这个文件应该在编辑生成文件的同时强行定义为UTF-8编码才可以通过. 
InBlock.gif------------------------------------------------
ExpandedBlockEnd.gif
*/

None.gif
//  填充图片的本地引用
None.gif
Ext.BLANK_IMAGE_URL  =   ' ../extjs/resources/images/default/s.gif ' ;
None.gif 
None.gif 
None.gif
//  创建命名空间
None.gif
Ext.namespace( ' myNameSpace ' );
None.gif 
None.gif
//  创建应用程序
ExpandedBlockStart.gifContractedBlock.gif
myNameSpace.app  =   function ()  dot.gif {
InBlock.gif    
// 元素还没创建,未能访问
InBlock.gif
 
InBlock.gif    
// 私有变量
InBlock.gif
 
InBlock.gif    
// 私有函数
InBlock.gif
 
InBlock.gif    
// 公共空间
ExpandedSubBlockStart.gifContractedSubBlock.gif
    return dot.gif{
InBlock.gif        
// 公共的属性,如,要转换的字符串
InBlock.gif
        // 公共方法
ExpandedSubBlockStart.gifContractedSubBlock.gif
        init: function() dot.gif{
InBlock.gif            alert(
'应用程序初始化成功。');
ExpandedSubBlockEnd.gif        }

ExpandedSubBlockEnd.gif    }
;
ExpandedBlockEnd.gif}
();  //  程序底部
None.gif
 
None.gif
//  文件底部


3.0新功能:

* 改进了Unicode兼容性.
* 'Enable visual style for toolbars' option ('Preferences'->'Tools').
* '匹配标签'/'选择标签' 命令 ('Search' menu).
* Allows drag and drop for the Document Selector tabs. 允许拖拉文档标签
* Automatically adjusts the number of rows on the Document Selector.
* 还原最近的光标,标记,编码方式  选项 ('Preferences'->'General').
* Automatically adds file extension if the file type has only one extension.
* 'Rename' command ('File'->'Others').
* 'Current project' option in the Find in Files dialog box.
* 'An additional file name (allows * and ?)' option ('Preferences'->'Settings &
syntax'->'More'). * Supports secondary function pattern option.
* 'Toggle Folding' command ('View'->'Code Folding').
* 'Add Dir' button on the 'Preferences'->'Project'.
* Supports 'Sort' button on the Window List.
* Supports 'Copy Name' button on the Window List.
* Function Pattern dialog box supports 'Partial display' option.
* 'Previous' button instead of Up/Down on the Find dialog box.
* $(AppDir) argument macro added.
* Supports font option for the Document Selector.
* Supports auto save as *.tmp file for unnamed buffers.
* 'Up'/'Down' button on the Window List supports multiple selections.
* Duplicate Line command supports multi-line selection.
* 'Open Selection' command supports multi-line selection.
* Native support for tilt wheel on Vista.
* Supports horizontal scroll by SHIFT + mouse wheel.
* -wd command line option for specifying directory to save the workspace.
* 'Transparent' command ('Window'->'Others').
* 'Remove from Project' command ('Project'->'Manage Project').
* Supports 'Up'/'Down' button on the 'Preferences'->'Settings & syntax' dialog box.
* 'Copy URL' command ('Edit'->'Clipboard' menu).
* 'User tool group' option on the 'Preferences'->'Project' dialog box.
* 'Move Up/Down' command ('Edit'->'Others').
* 'Change File Encoding'/'File Encoding Multiple' commands ('Document'->'File Encoding').
* Displays current project name on the title bar.
* 'Next/Prev Project' command ('Project'->'Manage Project').
* Allows CHMOD on multiple files.
' 'Allow Drag & Drop' option ('Edit'->'Others').
* New toolbar buttons: Find Next/Prev Word, Toggle Folding, Sum, Last Visited, Character Count.
<bug fix>
* FTP status of 100% could cause program crash.
* Some sftp servers could cause program freeze.
* Regular expression in Find in Files dialog box could cause program crash.
* 'Save wrapped lines with CR/LF' option could corrupt file.
* Replace All could incorrectly hide folded lines.
* 'Subdirectory' FTP setting did not work correctly on VMS servers.
* '$' regular expression did not work correctly.
* Search Document command could omit some words.
* Improved Vista UAC compatibility.
* 'Sum' command could not handle minus value.
* Fixes display error when selecting by word.
* Fixes a screen update bug with auto completion in word wrap mode.
* Extending column selection with 'Shift + click' didn't work.
* 'Decrease Indent' command did not work correctly with column selections.
* 'Create File' did not work on disconnected FTP server.
* Suppresses auto completion in C/C++ preprocessor directives.
* Keystroke recording could not handle the Insert key.
* Highlighted matching braces could not be restored when changing focus.
* Replace dialog box with regex did not work upward.
* Suppresses combo box auto completion when pasting.
* 'Use EditPlus in Internet Explorer' didn't work as expected in Vista.
* Reset button on the 'Preferences'->'Toolbar' did not work correctly.
* Fixes a bug with the Korean input method editor.


EditPlus 3.0 是一款功能强大且易于使用的文本编辑器。它具有许多有用的功能,使其成为程序员和网页开发者的首选工具。 首先,EditPlus 3.0 具有语法高亮功能,可以根据不同的编程语言自动着色代码。这一功能使得代码更易于阅读和理解,并帮助用户找出潜在的错误。同时,EditPlus 还支持许多编程语言的自定义语法文件,用户可以根据自己的需要添加新的语言。 其次,EditPlus 3.0 内置了强大的剪贴板功能。用户可以轻松地管理和操作剪贴板的内容,包括复制、剪切和粘贴文本。此外,EditPlus 还提供了多个剪贴板插槽,用户可以将多个不同的文本片段存储在这些插槽中,随时调用。 第三,EditPlus 3.0 具有自动完成功能,可以根据用户的输入提示可能的选项。这对于大型项目或复杂的代码来说尤为有用,能够节省开发者的时间和精力。用户还可以自定义自动完成列表,以适应自己的项目需求。 此外,EditPlus 3.0 还支持文件对比功能,可以快速比较两个文件或两个文件夹的差异,并显示出不同之处。这对于代码版本控制和项目管理非常方便。 综上所述,EditPlus 3.0 是一款功能丰富、易于使用的文本编辑器,适用于各种编程语言和网页开发。它的语法高亮、剪贴板管理、自动完成和文件对比功能等都使其成为程序员和网页开发者的首选工具。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值