听说有了NOTEPAD2.EXE
不用,要么就直接EDITPLUS
1 Notepad overview
Notepad is a basic text editor that you can use to create simple documents.
The most common use for Notepad is to view or edit text (.txt) files,
but many users find Notepad a simple tool for creating Web pages.
Because Notepad supports only very basic formatting,
you cannot accidentally[偶然,意外,有意装无意] save special formatting in documents
that need to remain pure text.This is especially useful when creating HTML
documents for a Web page because special characters or other formatting may
not appear in your published Web page or may even cause errors.
You can save your Notepad files as Unicode, ANSI, UTF-8, or big-endian Unicode.
These formats provide you greater flexibility when working with documents that use
different character sets.
2 Find specific[明确] characters or words
To find specific characters or words
1.On the Edit menu, click Find.
2.In Find what, type the characters or words you wnat to find.
3.Click Find Next.
Notes:
To find only text with uppercase and lowercase characters,
as specified in Find what, select Match case.
You can specify which direction to search starting from the
*insertion point* in the document.
In Direction, click Up to search from the insertion point to the top.
Click Down to search from the insertion point to the bottom.
================================================================================
[*insertion point*]:
The place where text will be inserted when typed.
The insertion point usually appears as a flashing vertical bar
in an application's window or in a dialog box.
================================================================================
3 To find and replace specific characters or words
1.On the Edit menu, click Replace.
2.In Find what, type the characters or words you want to find.
3.In Replace with, type the replacement text.
4.To replace all instances of the text at once,
click Replace All.
Or,to replace one instance at a time, click Find Next,
and then click Replace.
4 Wrap text to the window size
To wrap text to the window size
1
On the Format menu, click Word Wrap.
Notes:
A check mark[对勾] appears when word wrap is turned on.
Wrapping text enables you to see all the text on the line,
but it doesn't affect the way text appears when it is printed.
5 Go to a specific line
To go to a specific line
1
On the Edit menu, click Go To
2
In Goto line, type the line number you want the cursor to jump to.
Notes:
You do not have to have line numbers in your document for this command to work.
Lines are counted down the left margin beginning at the top of the document.
6 Cut, copy, paste, or delete text
To cut, copy, paste, or delete text
To cut text so you can move it to another location,
select the text, and then on the Edit menu click Cut.
To copy text so you can paste it in another location,
select the text, and then on the Edit menu click Copy.
To paste text you have cut or copied, place the cursor
where you want to paste the text, and then on the Edit menu click Paste.
To delete text, select it, and then on the Edit menu click Delete.
7 Change the font style and size
To change the font style and size
1
On the Format menu, click Font.
Make your selections in Font, Font style, and Size.
Note:
An example of how your *font* will look appears in Sample.
================================================================================
font
A graphic design applied to a collection of
numbers, symbols, and characters.
A font describes a certain typeface, along with other qualities
such as size, spacing, and pitch[程度].
================================================================================
Create a header or footer
To create a header or footer
1
On the File menu, click Page Setup.
2
In the Header or Footer box, type the letter and character combination
from the following table.
To Type
Insert the open file's name or (untitled) if the file has no name. &f
Insert the date. &d
Insert the time specified by your computer's clock. &t
Insert page numbers. &p
Insert an ampersand(&). &&
Align the header or footer to the left, center, or right. &l, &c, &r
Notes:
You can use more than one combination in the Header or Footer box.
Leaving a space or two between each combination will make
the header or footer easier to read.
[太妙了]
To align text to left, center, right, you MUST
first enter &l, &c, or &r in the Header or Footer
box, followed by any other combinations you want to use.
You can alse incorporate[包含,吸收,拉拢] text with the combinations.
For example, Page &p will print out as Page 1, Page 2, and so on.
================================================================================
character combination
字符组 &f &d....
================================================================================
Change the appearance of a printed Notepad document
To change the appearance of a printed Notepad document
1
On the File menu, click Page Setup.
2
In the Page Setup dialog box, do one of the following:
a.To change the paper size, click a size in the Size list.
b.To change the *paper source*, click a tray[文件盘] name or a feeder
in the Source list.
================================================================================
paper source
The location(such as Upper Paper Tray or Envelope Feeder)
of the paper at the printer.
================================================================================
c.To print the document vertically, click Portrait;
to print the document horizontally, click Landscape.
d.To change the margins, type a width in any of the Margins boxes.
e.To change your printer settings, click Printer.
Print a Notepad document
To print a Notepad document
1
On the File menu, click Print.
2
On the General tab, select the printer and options you want,
and then click Print.
Note:
To change the look of your printed document,
on the File menu, click Page Setup.
To insert the time and date in a document
1
Move the cursor to where you want to add the time and date.
2
On the Edit menu, click Time/Date.
To append a log to a document
1.
On the first line of a Notepad document, type the following
extension at the left margin, making sure you use all uppercase
letters and include the period:
.LOG
2.
On the File menu, click Save.
Note:
Every time you open this document, Notepad will append the current time
and date to the end of the document, as specified by your computer's clock.
Using different language formats in Notepad
Notepad allows you to create and open documents in
several different formats:
ANSI
Unicode
big-endian Unicode
UTF-8.
These formats allow you to work with documents that use
different character sets.
By default, your documents will be saved as standard ANSI text.
Unicode is a superset of all the major scripts of the world.
It includes character sets common to business and computer use.
When you save a document in Unicode, you can use
Unicode control characters [控制符]
to help with text flow and direction for languages
such as Arabic and Hebrew.
意思可能是说,用了unicode保存的文本
可以用 控制符 来改变诸如 阿拉伯语, 稀薄啦语的显示方式.
Some fonts cannot display all of the Unicode characters.
[的确,有些字符是非打印的,看不见的]
If you see any characters missing in your text file,
you can change the font to one the includes the character.
Generally, Microsoft Sans Serif is a good choice for Unicode characters.
The bytes(a unit of storage) in a word in a Unicode document created on a
big-endian processor, such as the Macintosh, are arranged in an order opposite
to that of the bytes in a word in a document created on an Intel processor.
===================
总算明白了,其实字符编码就三种
ANSI
Unicode
UTF-8
------------
big-endian Unicode就是Unicode,位排列不一样而已
===================
The most significant byte has the lowest address,
with the word stored big end first.
To make your documents accessible to users on these
types of computers, save your Noptepad file in the
big-endian Unicode format.
UTF stands for Universal Character Set Transformation Format.
UTF-8 is the 8-bit form of Unicode. Save your document in
UTF-8 if you are using older transmission *media* that
support only 8 bits of significant data within individual bytes.
=========================
media:
Any fixed or removable objects that store computer data.
Examples include hard disks, floppy disks, tapes, and
compact discs.
=========================
See the Unicode Consortium Web site for more information on
these formats.
分享到:
相关推荐
标题中的“古老的C语言编程工具”暗示我们讨论的是关于C语言编程环境或工具的历史、特点以及它们在现代软件开发中...因此,无论是初学者还是经验丰富的开发者,都应该重视对这些“古老”但仍然强大的工具的学习和使用。
《MASM5.0在Windows 7环境下的汇编编程详解》 汇编语言作为计算机科学的基础,一直是微机原理学习的重要组成部分。MASM(Microsoft Macro Assembler)5.0...在实践中不断探索,才能真正掌握这门古老而强大的编程语言。
AutoLISP语言的开发历史可以追溯到20世纪50年代后期,它是最为古老的程序设计语言之一。它不仅具备在高级语言环境下编写程序的能力,还特别适合于图形的应用。因此,利用AutoLISP编写源程序并集成到AutoCAD中,可以...
6. **使用轻量级软件**:选择体积小、功能强大的替代软件,如Firefox代替Internet Explorer,Notepad++代替记事本,以减轻系统负担。 7. **磁盘碎片整理**:定期进行磁盘碎片整理有助于优化硬盘读写效率,提升系统...
批处理(Batch Processing)是计算机领域中一种古老但仍然广泛应用的技术,主要用于自动化执行一系列命令或任务,极大地提高了工作效率。在Windows操作系统中,批处理主要通过`.bat`或`.cmd`后缀的批处理脚本来实现...
在计算机世界里,DOS(磁盘操作系统)命令是一门古老而强大的语言,它允许用户直接与系统底层进行交互,实现各种高级功能。本文将详细介绍从给定文件中提取的DOS命令及其用途,帮助读者更好地理解和运用这些实用的...
DOS,即磁盘操作系统(Disk Operating System),虽然在现代图形界面为主的计算机环境中显得较为古老,但在很多场合下,尤其是系统故障排查、网络管理以及自动化脚本编写时,DOS命令行依然发挥着不可替代的作用。...