发表于: lnmp | 作者: | 日期: 2008/5/26 08:05
标签:

mysql的beep报警每次都会吓我自己一跳,google了一下,如下方法可以关掉:

1、
登录的时候用mysql -u root -b -p

2、
用命令 mysql –no-beep

3、
配置mysql 的my.ini

4、
“我的电脑”上点击右键-“属性”-“硬件”-“设备治理器”,然后点击“查看”,勾上“显示隐藏的设备”,然后在下面找到“beep”并双击,将其改成“不要在当前硬件配置文件中使用这个设备(停用)”
然后会提示重启计算机,那么就重启吧,我用的最后一个方法。

评论关闭
发表于: DB/ES | 作者: | 日期: 2008/5/26 05:05

先运行regedit启动注册表编辑器,在HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/下的Services和CurrentControlSet/Services下找到OracleOraDb10g_home1TNSListener项,在右边窗口按右键,新建/字符串,取名ImagePath。双击新建的键,在”数值数据”项输入E:\oracle\product\10.2.0\db_2\BIN\TNSLSNR.EXE(根据实际情况进行修改),确定完成。 再次在服务中双击打开OracleOraDb10g_home1TNSListener的服务看到其”可执行文件的路径”一栏已经显示了其正确的值。这时可以启动监听了。

评论关闭
发表于: DB/ES | 作者: | 日期: 2008/5/26 05:05
标签:

Create, read, update and delete (CRUD) are the four basic functions of persistent storage, a major part of nearly all computer software. Sometimes CRUD is expanded with the words retrieve instead of read or destroy instead of delete. It is also sometimes used to describe user interface conventions that facilitate viewing, searching, and changing information; often using computer-based forms and reports.

from:http://en.wikipedia.org/wiki/Create,_read,_update_and_delete

CRUD其实就是增删改查的英文缩写。

评论关闭
发表于: DB/ES | 作者: | 日期: 2008/5/19 04:05

MySQL中的表复制
目标表不存在时
CRATE TABLE dest_table_name(SELECT column_name,… FROM src_table_name);

目标表存在时
INSERT INTO dest_table_name(SELECT column_name,… FROM src_table_name);

Oracle中的表复制
目标表不存在时
CREATE TABLE dest_table_name AS SELECT column_name,… FROM src_table_name;

说明:
用子查询创建新表时,只有非空约束会被带到新表中,即:only NOT NULL constraints is copied .

目标表存在时
INSERT INTO dest_table_name(column_name,…) SELECT column_name,… FROM src_table_name;

评论关闭
发表于: DB/ES | 作者: | 日期: 2008/5/10 02:05

ASCII函数
返回与指定的字符对应的十进制数。
select ascii(‘A’), ascii(‘a’) from dual;

ASCII(‘A’) ASCII(‘A’)
———- ———-
65 97

CHR函数
给出整数,返回对应的字符。与ASCII函数互为逆运算。
select chr(65), chr(97) from dual;

CHR(65) CHR(97)
——- ——-
A a

LENGTH函数
返回字符串的长度。
select length(‘aaa’) from dual;

LENGTH(‘AAA’)
————-
3

select length(‘大家好’) from dual;

LENGTH(‘大家好’)
—————-
3

LENGTHB(c1)函数
与LENGTH()一样,按字节返回。
SELECT LENGTHB(‘AAA’) FROM dual;
LENGTHB(‘AAA’)
————–
3

SELECT LENGTHB(‘大家好’) FROM dual;
LENGTHB(‘大家好’)
——————-
6

CONCAT函数
连接两个字符串。与||操作符效果相同。

select concat(‘aaa’,’bbb’) from dual;

CONCAT(‘AAA’,’BBB’)
—————————————————————-
aaabbb

select ‘aaa’ || ‘bbb’ from dual;

‘AAA’||’BBB’
—————————————————————-
aaabbb

LOWER函数
返回字符串,并将所有的字符小写。
select lower(‘AaBbCcDd’)AaBbCcDd from dual;

AABBCCDD
——–
aabbccdd

UPPER函数
返回字符串,并将所有的字符大写。
select upper(‘AaBbCcDd’) upper from dual;

UPPER
——–
AABBCCDD

LTRIM(c1,c2)
把c1中最左边的字符去掉,使其第一个字符不在c2中,如果没有c2,那么c1就不会改变。
select LTRIM(‘aaabbbcccdddeeefffggg’, ‘abc’) “text” from dual;

text
————
dddeeefffggg

RTRIM(c1,c2)
把c1中最右边的字符去掉,使其第后一个字符不在c2中,如果没有c2,那么c1就不会改变。
select RTRIM(‘aaabbbcccdddeeefffggg’, ‘efg’) “text” from dual;

text
————
aaabbbcccddd

TRIM(c1[ from c2])
TRIM enables you to trim leading or trailing characters (or both) from a character string. If trim_character or trim_source is a character literal, then you must enclose it in single quotes.
If you specify LEADING, then Oracle removes any leading characters equal to trim_character.
If you specify TRAILING, then Oracle removes any trailing characters equal to trim_character.
If you specify BOTH or none of the three, then Oracle removes leading and trailing characters equal to trim_character.
If you do not specify trim_character, then the default value is a blank space.
If you specify only trim_source, then Oracle removes leading and trailing blank spaces.
The function returns a value with datatype VARCHAR2. The maximum length of the value is the length of trim_source.
If either trim_source or trim_character is null, then the TRIM function returns null.
Both trim_character and trim_source can be any of the datatypes CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, or NCLOB. The string returned is of VARCHAR2 datatype and is in the same character set as trim_source.

Examples
This example trims leading and trailing zeroes from a number:

SELECT TRIM (0 FROM 0009872348900) “TRIM Example” FROM DUAL;

TRIM Example
————
98723489

TRANSLATE(c1,c2,c3)
将c1中与c2相同的字符以c3代替。
select translate(‘aaabbbcccdddeeefffggg’,’abc’,’123′) text from dual;

TEXT
———————
111222333dddeeefffggg

REPLACE(c1,c2,c3)
c1,c2,c3都是字符串,函数用c3代替出现在c1中的c2后返回。
select REPLACE(‘uptown’,’up’,’down’) from dualREPLACEdowntown

SUBSTR(c1,i,j)
c1为一字符串,i,j为整数,从c1的第i位开始返回长度为j的子字符串,如果j为空,则直到串的尾部。
The “substring” functions return a portion of string, beginning at character position, substring_length characters long.

SUBSTR calculates lengths using characters as defined by the input character set.
SUBSTRB uses bytes instead of characters.
SUBSTRC uses Unicode complete characters.
SUBSTR2 uses UCS2 codepoints. SUBSTR4 uses UCS4 codepoints.

If position is 0, then it is treated as 1.
If position is positive, then Oracle counts from the beginning of string to find the first character.
If positionis negative, then Oracle counts backward from the end of string.
If substring_length is omitted, then Oracle returns all characters to the end of string. If substring_length is less than 1, then a null is returned.

string can be any of the datatypes CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB,or NCLOB. The return value is the same datatype as string.
Floating-point numbers passed as arguments to SUBSTR are automatically converted to integers.

Examples
The following example returns several specified substrings of “ABCDEFG”:
SELECT SUBSTR(’ABCDEFG’,3,4) “Substring” FROM DUAL;
Substring
———
CDEF

SELECT SUBSTR(’ABCDEFG’,-5,4) “Substring” FROM DUAL;
Substring
———
CDEF

Assume a double-byte database character set:
SELECT SUBSTRB(’ABCDEFG’,5,4.2) “Substring with bytes” FROM DUAL;
Substring with bytes
——————–
CD

select SUBSTR(‘Message’,1,4) from dual;
SUBS
Mess

STBSTR(c1,i,j)
与SUBSTR大致相同,只是I,J是以字节计算。

评论关闭
发表于: sitebuild | 作者: | 日期: 2008/5/10 01:05

length
返回字符串的长度。
length 属性包含一个整数,该整数指示 String 对象中的字符数。String 对象中的最后一个字符的索引为 length – 1。
var str = "aaabbbcccddd";
alert(str.length);

是属性,不需要括号的。

function charAt(index : Number) : String
返回 String 对象的指定索引处的字符
参数:index 必选。所需字符的从零开始的索引。有效值为 0 到字符串长度减 1 的数字。
备注:charAt 方法返回一个字符值,该字符值等于指定索引位置的字符。一个字符串中的第一个字符位于索引位置 0,第二个字符位于索引位置 1,依此类推。超出有效范围的 index 返回空字符串。

function charCodeAt(index : Number) : String
返回一个整数,该整数表示 String 对象中指定位置处的字符的 Unicode 编码。
参数:index 必选。所需字符的从零开始的索引。有效值为 0 到字符串长度减 1 的数字。
备注:一个字符串中的第一个字符位于索引位置 0,第二个字符位于索引位置 1,依此类推。如果指定 index 没有字符,将返回 NaN。

function toUpperCase() : String
返回一个字符串,该字符串中的所有字母都被转换为大写字母。
备注:toUpperCase 方法对非字母字符无效。

function toLowerCase() : String
返回一个字符串,该字符串中的所有字母都被转换为小写字母。
备注:toLowerCase 方法对非字母字符无效。

function tolocaleUpperCase() : String
返回一个字符串,其中所有字母都被转换为大写,同时考虑宿主环境的当前区域设置。
备注:toLocaleUpperCase 方法转换字符串中的字符,同时考虑到宿主环境的当前区域设置。在大多数情况下,其结果与使用 toUpperCase 方法所得到的结果相同。如果语言规则与常规的 Unicode 大小写映射冲突,则结果将会不同。

function tolocaleLowerCase() : String
返回一个字符串,其中所有的字母都被转换为小写,同时考虑到宿主环境的当前区域设置。
备注:toLocaleLowerCase 方法转换字符串中的字符,同时考虑到宿主环境的当前区域设置。在大多数情况下,其结果与利用 toLowerCase 方法所得到的结果相同。如果语言规则与常规的 Unicode 大小写映射冲突,则结果将会不同。

function concat([string1 : String [, … [, stringN : String]]]]) : String
返回一个字符串值,该值包含当前字符串与提供的任何字符串的连接。
参数:string1, …, stringN 可选。要连接到当前字符串末尾的 String 对象或文本。
备注:concat 方法的结果等同于:result = curstring + string1 + … + stringN。curstring 是指对象中存储的用于提供 concat 方法的字符串。源字符串中或结果字符串中的值的变化都不会影响另一个字符串中的值。如果有不是字符串的参数,则它们在连接到 curstring 之前将首先被转换为字符串。

function substring(start : Number, end : Number) : String
返回位于 String 对象中的指定位置的子字符串。
参数:
start 必选。从 0 开始的索引整数,指示子字符串的起始位置。
end 必选。从 0 开始的索引整数,指示子字符串的结束位置。
备注:
substring 方法将返回一个字符串,该字符串包含从 start 直到 end(不包含 end)的子字符串。substring 方法使用 start 和 end 两者中的较小值作为子字符串的起始点。例如,strvar.substring(0, 3) 和 strvar.substring(3, 0) 将返回相同的子字符串。如果 start 或 end 为 NaN 或负数,那么它将被替换为 0。子字符串的长度等于 start 和 end 之差的绝对值。例如,在 strvar.substring(0, 3) 和 strvar.substring(3, 0) 中,返回的子字符串的长度为 3。

var str = "aaabbbcccddd";
alert(str.substring(0,3));

该函数的所有字母小写。

function substr(start : Number [, length : Number]) : String
返回一个从指定位置开始,并具有指定长度的子字符串。
参数:
start 必选。所需的子字符串的起始位置。字符串中第一个字符的索引为 0。
length 可选。返回的子字符串中包含的字符数。
备注:如果 length 为 0 或负数,将返回一个空字符串。如果没有指定该参数,则子字符串将延续到字符串的结尾。

var str = "aaabbbcccddd";
alert(str.substr(0,3));

该函数的所有字母小写。

function split([ separator : { String | RegExp } [, limit : Number]]) : Array
返回一个字符串拆分为若干子字符串时所产生的字符串数组。
参数:
separator 可选。字符串或正则表达式对象的实例,它标识用于分隔字符串的一个或多个字符。如果忽略该参数,将返回包含整个字符串的单元素数组。
limit 可选。一个用于限制数组中返回的元素数的值。
备注:split 方法的结果是在字符串中出现 separator 的每个位置分隔字符串后产生的字符串数组。separator 将不作为任何数组元素的一部分返回。
示例:
var str = 'aaa|bbb|ccc|ddd';
var result = str.split('|');
for(var i = 0; i < result.length; i++){
alert(result[i]);
}

join()
功能:使用指定的分隔符将一个数组合并为一个字符串
例子:

var myList=new Array(”jpg”,”bmp”,”gif”,”ico”,”png”);
var portableList=myList.join(”|”);
//结果是jpg|bmp|gif|ico|png

跟split()函数是逆操作

function slice(start : Number [, end : Number]) : String
返回字符串的片段。
参数:
start 必选。指向字符串指定部分的开头的索引。
end 可选。指向字符串指定部分的结尾的索引。
备注:slice 方法返回一个包含字符串指定部分的 String 对象。
slice 方法一直复制到 end 所指示的元素,但是不包括该元素。如果 start 为负,则将其视为 length + start,此处 length 为字符串的长度。如果 end 为负,则将其视为 length + end,此处 length 为字符串的长度。如果省略 end,则将一直提取到字符串的结尾。如果 end 出现在 start 之前,则不会将任何字符复制到新字符串中。

function indexOf(subString : String [, startIndex : Number]) : Number
返回 String 对象内第一次出现子字符串的字符位置。
参数:
subString 必选。在 String 对象中搜索的子字符串。
startIndex 可选。该整数值指定在 String 对象内开始搜索的索引。若省略此参数,则搜索从字符串的起始处开始。
备注:indexOf 方法返回一个整数值,该值指示 String 对象内子字符串的起始位置。如果未找到子字符串,则返回 -1。如果 startindex 为负,则将 startindex 视为零。如果它比最大字符位置索引还大,则将它视为可能的最大索引。搜索将从左向右执行。否则,此方法与 lastIndexOf 相同。

function lastIndexOf(substring : String [, startindex : Number ]) : Number
返回 String 对象中某个子字符串的最后一个匹配项的索引。
参数:
substring 必选。在 String 对象内将被搜索的子字符串。
startindex 可选。该整数值指定在 String 对象内开始搜索的索引。若省略该参数,则搜索将从字符串的结尾开始。
备注:lastIndexOf 方法返回一个整数值,指示 String 对象内子字符串的开始位置。如果未找到子字符串,则返回 -1。如果 startindex 为负,则将 startindex 视为零。如果它比最大字符位置索引还大,则将它视为可能的最大索引。从右向左执行搜索。否则,该方法和 indexOf 相同。

function localeCompare(stringExp : String) : Number
返回一个值,指示两个字符串在当前区域设置中是否相等。
参数:stringExp 必选。要与当前字符串对象进行比较的字符串。
备注:localeCompare 对当前字符串对象和 stringExp 进行区分区域设置的字符串比较,并返回 -1、0 或 +1,这取决于系统中默认的区域设置的排序顺序。如果当前字符串对象排在 stringExp 之前,则 localeCompare 返回 -1;如果当前字符串排在 stringExp 之后,则返回 +1。如果返回值为零,则说明这两个字符串是相等的。

function match(rgExp : RegExp) : Array
使用正则表达式模式对字符串执行搜索,并返回一个包含该搜索结果的数组。
参数:
rgExp 必选。包含正则表达式模式和适用标志的 Regular Expression 对象的实例。也可以是包含正则表达式模式和标志的变量名或字符串。
备注:如果 match 方法没有找到匹配,将返回 null。如果找到匹配,则 match 方法返回一个数组,并将更新全局 RegExp 对象的属性以反映匹配结果。
match 方法返回的数组有三个属性:input、index 和 lastIndex。Input 属性包含整个被搜索的字符串。Index 属性包含了在整个被搜索字符串中匹配的子字符串的位置。LastIndex 属性包含了前一次匹配中最后一个字符的下一个位置。
如果没有设置全局标志 (g),数组的零元素包含整个匹配,而第 1 到第 n 个元素包含了匹配中曾出现过的任一个子匹配。此行为与没有设置全局标志的 exec 方法的行为相同。如果设置了全局标志,则元素 0 到 n 中包含所有出现的匹配。

function replace(rgExp : RegExp, replaceText : String) : String
返回一个字符串的副本,该字符串的文本已被使用正则表达式或搜索字符串替换。
参数:
rgExp 必选。Regular Expression 对象的实例包含正则表达式模式和适用标志。也可以是 String 对象或文本。如果 rgExp 不是 Regular Expression 对象的实例,它将被转换为字符串,并对结果进行精确的搜索;字符串将不会被试图转化为正则表达式。
replaceText 必选。一个 String 对象或字符串文本,包含用于替换当前字符串对象中 rgExp 的每个成功匹配的文本。在 Jscript 5.5 或更高版本中,replaceText 参数也可是返回替换文本的函数。
备注:在完成指定的替换之后,replace 方法的结果是当前字符串对象的副本。下面任意的匹配变量都可用于识别最新的匹配及匹配字符串。在需要动态确定替换字符串的文本替换中可以使用匹配变量。
字符 含义
$$    $(JScript 5.5 或更高版本)
$&    指定当前字符串对象中与整个模式相匹配的部分。(JScript 5.5 或更高版本)
$`    指定当前字符串对象中位于 $& 所描述的匹配前面的部分。(JScript 5.5 或更高版本)
$’    指定当前字符串对象中位于 $& 所描述的匹配后面的部分。(JScript 5.5 或更高版本)
$n    第 n 个捕获到的子匹配,这里 n 为从 1 到 9 的十进制一位数。(JScript 5.5 或更高版本)
$nn    第 nn 个捕获到的子匹配,这里 nn 为从 01 到 99 的十进制二位数。(JScript 5.5 或更高版本)
如果 replaceText 是一个函数,对于每个匹配的子字符串,调用该函数时带有下面的 m + 3 个参数,这里 m 是在 rgExp 中用于捕获的左括弧的个数。第一个参数是匹配的子字符串。接下来的 m 个参数是搜索中捕获到的全部结果。参数 m + 2 是当前字符串对象中发生匹配位置的偏移量,而参数 m + 3 是当前字符串对象。结果为将每一匹配的子字符串替换为函数调用的相应返回值后的字符串值。Replace 方法更新全局 RegExp 对象的属性。

function search(rgExp : RegExp) : Number
返回正则表达式搜索中第一个子字符串匹配项的位置。
参数:rgExp 必选。Regular Expression 对象的实例包含正则表达式模式和适用标志。
备注:search 方法表示是否找到了匹配项。如果找到一个匹配项,则 search 方法将返回一个整数值,该值指示发生匹配处距字符串开头的偏移量。如果没有找到匹配项,则返回 -1。

function fromCharCode([code1 : Number [, … [, codeN : Number]]]]) : String
从一些 Unicode 字符值中返回一个字符串。
参数:code1, …, codeN 可选。要转换为字符串的 Unicode 字符值序列。如果没有给出参数,结果为空字符串。
备注:fromCharCode 方法是从全局 String 对象中调用的。

######################## 以下是一些不常用的方法 #################################
function anchor(anchorString : String ) : String
返回对象中指定文本周围带有 HTML 定位点(具有 NAME 属性)的字符串。
参数:anchorString是要放在 HTML 定位点 NAME 属性中的文本。
备注:调用 anchor 方法在 String 对象外创建一个命名定位点。
未进行任何检查来查看此标记是否已应用于该字符串。

function big() : String
返回 String 对象中文本周围带有 HTML <BIG> 标记的字符串。
备注:未进行任何检查来查看此标记是否已应用于该字符串。

function blink() : String
返回 String 对象中文本周围带有 HTML <BLINK> 标记的字符串。
备注:未进行任何检查来查看此标记是否已应用于该字符串。在 Microsoft Internet Explorer 中不支持 <BLINK> 标记

function bold() : String
返回 String 对象中文本周围带有 HTML <B> 标记的字符串。
备注:未进行任何检查来查看此标记是否已应用于该字符串。

function fixed() : String
返回 String 对象中文本周围带有 HTML <TT> 标记的字符串。
备注:未进行任何检查来查看此标记是否已应用于该字符串。

function fontcolor(colorVal : String) : String
返回 String 对象中文本周围带有 HTML <FONT> 标记(具有 COLOR 属性)的字符串。
参数:colorVal 必选。包含颜色值的字符串值。可以是颜色的十六进制值,也可以是颜色的预定义名。
备注:有效的预定义颜色名取决于 JScript 主机(浏览器、服务器等)。它们也可能随主机版本的不同而不同。详细信息请查阅主机文档。未进行任何检查来查看此标记是否已应用于该字符串。

function fontsize(intSize : Number) : String
返回 String 对象中文本周围带有 HTML <FONT> 标记(具有 SIZE 属性)的字符串。
参数:intSize 必选。用来指定文本大小的整数值。
备注:有效的整数值取决于 Microsoft JScript 主机。详细信息请参见主机文档。未进行任何检查来查看此标记是否已应用于该字符串。

function italics() : String
返回字符串对象中文本周围带有 HTML <I> 标记的字符串。
备注:未进行任何检查来查看此标记是否已应用于该字符串。

function link(linkstring : String) : String
返回 String 对象中文本周围带有 HTML 定位点和 HREF 属性的字符串。
备注:调用 link 方法来创建 String 对象外部的超级链接。未进行任何检查来查看此标记是否已应用于该字符串。

function small() : String
返回 String 对象中文本周围带有 HTML <SMALL> 标记的字符串。
备注:未进行任何检查来查看此标记是否已应用于该字符串。

参考文档:http://www.builder.com.cn/2005/0708/200442.shtml

评论关闭
发表于: DB/ES | 作者: | 日期: 2008/5/07 08:05
标签:

DDL
数据库模式是通过一系列定义来说明的,这些定义由称作数据定义语言(Data Definition Language,英文缩写为DDL)的一种特殊语言来表达,如create table。DDL语句的编译结果是填写一系列存储在一个特殊文件中的系统表,这个特殊的文件称作数据字典。数据字典是一个包含元数据的文件,元数据是关于数据的数据。在数据库管理系统中,实际读取和修改数据前总要先查询该文件。

DML
DML是Data Manipulation Language的英文缩写,即数据操纵语言。数据操纵是指对存储在数据库中的信息进行检索、向数据库中插入新的信息、从数据库中删除信息以及修改存储在数据库中的信息。数据抽象的层次不仅适用于定义数据和组织数据,还适用于对数据的操纵。在物理层,必须定义可以高效访问数据的算法。在较高的抽象层次上,强调数据的易用性,目的是要提供人与系统间的有效交互。

数据操纵语言通常有两类:
1、过程化的DML要求用户指定需要什么数据以及如何获得这些数据;
2、非过程化的DML只要求用户指定需要什么数据,而不必指明如何获得这些数据。通常非过程化的DML比过程化的DML易学易用,但是非过程化的DML比过程化的DML的效率可能要低一些。

查询是用来对信息进行检索的语句。DML中涉及信息检索的那一部分称作查询语言。但在实际当中不严格区分查询语言和数据操纵语言,有时就简单地称为数据查询语言。

事务
事务是数据库应用中完成单一逻辑功能的操作集合,是一个既具原子性又具一致性的逻辑执行单元。

E-R模型
实体联系(E-R)数据模型基于对现实世界的这样一种认识:世界由一组称为实体的基本对象及这些对象间的联系组成。此模型的提出是为了有助于数据库设计,这是通过允许定义企业模式来实现的,企业模式代表了数据库的全局逻辑模式。E-R模型是一种语义模型,模型的语言方面主要体现在模型力图去表达数据的意义。E-R数据模型主要设计到三个主要概念:实体集、联系集和属性。

评论关闭
发表于: os/software | 作者: | 日期: 2008/4/30 02:04

(1)进入控制面板;
(2)选择区域和语言选项;
(3)选择语言栏;
(4)点详细信息;
(5)在设置里面点语言栏;
(6)选择桌面上显示语言栏。

评论关闭
发表于: os/software | 作者: | 日期: 2008/4/19 12:04

常用快捷键        作用
Ctrl+Shift+Spacebar   创建不间断空格
Ctrl+ -(连字符)     创建不间断连字符
Ctrl+B          使字符变为粗体
Ctrl+I          使字符变为斜体
Ctrl+U          为字符添加下划线
Ctrl+Shift+       缩小字号
Ctrl+Shift+>       增大字号
Ctrl+Q          删除段落格式
Ctrl+Spacebar      删除字符格式
Ctrl+C          复制所选文本或对象
Ctrl+X          剪切所选文本或对象
Ctrl+V          粘贴文本或对象
Ctrl+Z          撤消上一操作
Ctrl+Y          重复上一操作
More …

评论关闭
发表于: os/software | 作者: | 日期: 2008/4/19 12:04
标签:

Ctrl+N
File New
Create a new document file

Ctrl+O
File Open
Open an existing document file

Ctrl+Q
File Quick Open
Open an existing document without showing File Open dialog

Ctrl+F4
File Close
Close an existing document file

Ctrl+S
File Save
Save the active document

F12
File Save As
Save the active document as a new file

Ctrl+P
File Print
Print the active document

Ctrl+X
Edit Cut
Cut text from the document into the clipboard

Ctrl+C
Edit Copy
Copy text from the document into the clipboard

Ctrl+V
Edit Paste
Paste text from the clipboard into the active document

Ctrl+0-9
Edit Select Clipboard
Select active clipboard

Ctrl+A
Edit Select All
Select All text in the active document

Ctrl+Z
Edit Undo
Undo the last action if possible

Ctrl+Y (previously Ctrl+A)
Edit Redo
Reverse the last Undo action if possible

Ctrl+J
Edit Select Word
Select the current word (same as double click)

Ctrl+E
Edit Delete Line
Delete line the cursor is on

Ctrl+F11
Edit Delete to Start of Line
Delete from the cursor to start of line

Ctrl+F12
Edit Delete to End of Line
Delete from the cursor to end of line

Ctrl+W
Toggle Word Wrap
Toggle Word Wrap on/off

F7
Edit Insert Time/Date
Insert time/date at cursor

Alt+F3 or Ctrl+F
Find
Find a character string

Ctrl+F3
Find Prev
Repeat last find toward beginning of file

F3
Find Next
Repeat last find toward end of file

Ctrl+B
Match Brace
Find matching brace (,[,{ or },],)

Ctrl+R
Replace
Find and replace a character string with another

Ctrl+G
Goto
Goto the specified line (or HEX address)

Ctrl+U
File Tree View
Toggle File Tree View

Ctrl+F8
Tag List
Toggle Tag List

Ctrl+T
Reformat Paragraph
Reformat the current paragraph or selected text

Ctrl+F5
Format To Lower
Convert selected text to lower case

ALT+F5
Format To Upper
Convert selected text to Upper case

F5
Format Capitalize
Capitalize first character of each word in selected text

Shift+F5
Format Invert Case
Invert case of all characters in selected text

Ctrl+K
Edit Spell Check
Invoke the spelling checker

ALT+C
Column Mode
Toggle column/block mode on and off

Ctrl+Backspace
Delete previous word
Delete the word preceding the cursor

Ctrl+Delete
Delete next word
Delete the word following the cursor

Ctrl+I
Insert Literal Character
Insert a literal character at the cursor position

INS
Insert/Overstrike Mode
Toggle between Insert and Overstrike mode

Ctrl+H
HEX Edit
Toggle HEX editing mode

Ctrl+D
HEX Insert/Delete
Insert or delete characters in HEX editing mode

Ctrl+F2
Set Bookmark
Toggle bookmark on and off

F2
Goto Bookmark
Goto next bookmark

Ctrl+M
Macro Play
Replay a macro

Ctrl+L
Macro Play Multiple Times
Replay a macro the specified number of times

Ctrl+F6
Next Window
Make the next document window active

Ctrl+Shift+F6
Previous Window
Make the previous document window active

Alt+F4
Exit UltraEdit
Exit UltraEdit

Alt+0-9 or Shift+Alt+0 – 9
Insert Template
Insert user defined template

F9
DOS Command
Run DOS Window command

Ctrl+F9
Last DOS Command
Repeat last DOS Window command

F10
Execute Window Program
Execute Windows Program

Ctrl+Shift+A
Inserts ? character
(As ANSI or ASCII based on the font)

Ctrl+Shift+A (Caps Lock on)
Inserts ? character
(As ANSI or ASCII based on the font)

Ctrl+Shift+O
Inserts ? character
(As ANSI or ASCII based on the font)

Ctrl+Shift+O (Caps Lock on)
Inserts ? character
(As ANSI or ASCII based on the font)

Ctrl+Shift+U
Inserts ü character
(As ANSI or ASCII based on the font)

Ctrl+Shift+U (Caps Lock on)
Inserts ü character
(As ANSI or ASCII based on the font)

Ctrl+Shift+S
Inserts ? character
(As ANSI or ASCII based on the font)

Ctrl+Shift+S (Caps Lock on)
Inserts ? character
(As ANSI or ASCII based on the font)

Ctrl+Up
Scroll Up
Scroll up one line keeping cursor in view

Ctrl+Down
Scroll Down
Scroll down one line keeping cursor in view

F4
Change Focus
Toggle focus between active file and Tree View if shown

F8
Display Function List
Display Function List

Alt+Right
Next Paragraph
Position cursor at first not space character of next paragraph

Alt+Left
Previous Paragraph
Position cursor at first not space character of current paragraph (if positioned mid-paragraph) or previous paragraph

Alt+Page Up
Top of Window
Position cursor beginning of first line in of the display

Alt+Page Down
Bottom of Window
Position cursor beginning of last line in of the display

Alt+’-‘ (Numeric Keypad ‘-‘ only)
Scroll to Top
Position line with cursor at top of window

Alt+’+’ (Numeric Keypad ‘+’ only)
Scroll to Bottom
Position line with cursor at bottom of window

Alt+’center’ or Alt+”*” (Numeric Keypad ‘*’ only)
Scroll to Center
Position line with cursor at center of windo

Ctrl+’1′ (Numeric Keypad ‘1’ only)
End of previous word
Position the cursor at the end of the previous word

Ctrl+’2′ (Numeric Keypad ‘2’ only)
End of next word
Position the cursor at the end of the next word

评论关闭