Atom 编辑器中的 "buffer" 是什么?

What is the "buffer" in the Atom editor?

在描述查找(& 查找和替换)如何工作时,Atom Flight Manual 缓冲区 称为一个搜索范围,整个项目是另一个范围.缓冲区是什么?它似乎是当前文件,但我希望它不止于此。

来自Atom Flight Manual

A buffer is the text content of a file in Atom. It's basically the same as a file for most descriptions, but it's the version Atom has in memory. For instance, you can change the text of a buffer and it isn't written to its associated file until you save it.

也是从 The Craft of Text Editing by Craig Finseth, Chapter 6 那里看到的:

A buffer is the basic unit of text being edited. It can be any size, from zero characters to the largest item that can be manipulated on the computer system. This limit on size is usually set by such factors as address space, amount of real and/or virtual memory, and mass storage capacity. A buffer can exist by itself, or it can be associated with at most one file. When associated with a file, the buffer is a copy of the contents of the file at a specific time. A file, on the other hand, can be associated with any number of buffers, each one being a copy of that file's contents at the same or at different times.