ArticleslgStudy

computer science

TextEdit

TextEdit is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand TextEdit rather than just read about it. In short: TextEdit is an open-source word processor and text editor, first featured in NeXT's NeXTSTEP and OPENSTEP. It is now distributed with macOS since Apple's acquisition of NeXT, and available as a GNUstep application for other Unix-like operating systems such as Linux.

TextEdit — main illustration
TextEdit — illustration

Key takeaways

  • TextEdit belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect TextEdit to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of TextEdit from memory before moving on to harder problems.

Reference excerpt

TextEdit is an open-source word processor and text editor, first featured in NeXT's NeXTSTEP and OPENSTEP. It is now distributed with macOS since Apple's acquisition of NeXT, and available as a GNUstep application for other Unix-like operating systems such as Linux. It is powered by Apple Advanced Typography.

History TextEdit was originally released as part of NeXT's OpenStep 4.0 release as a replacement for Edit. Developed to demonstrate the new text system, TextEdit was one of the "Demos" included as part of the OS, and credited Mike Ferris, Rick McGowan, and Ali Ozer.

Implementation TextEdit uses the Cocoa text system to read and write documents in Rich Text Format (RTF), Rich Text Format Directory, plain text, and HTML formats, and can open (but not save) old SimpleText files. It also has access to the operating system's built-in spell-checking service. The version included in Mac OS X v10.3 added the ability to read and write documents in Word format, and the version in Mac OS X v10.4 added the ability to read and write Word XML documents. The version included in Mac OS X v10.5 added read and write support for Office Open XML and OpenDocument Text. The version included in Mac OS X v10.6 added automatic spelling correction, support for data detectors, and text transformations. The version included in Mac OS X v10.7 added versioning of files, and Autosave similar to iOS. Formatted text, justification, and even the inclusion of graphics and other multimedia elements are supported by TextEdit, as well as the ability to read and write to different character encodings, including Unicode (UTF-8 and UTF-16). TextEdit automatically adjusts letter spacing in addition to word spacing while justifying text. TextEdit does not support multiple columns of text. The high-resolution TextEdit 1.5 icon found in Mac OS X versions starting with 10.5 (Leopard) features an extract from Apple's "Think different" ad campaign. This was replaced by a blank sheet of notebook paper in 10.10 (Yosemite).

Source code Apple formerly distributed TextEdit's source code as part of the documentation of its integrated development environment (IDE) Xcode. On the Internet, the source code of TextEdit can be found in Apple's Mac Developer Library. The following quote is from the characteristic part of the BSD-3-Clause-compliant license text included in the source code:

[...] In consideration of your agreement to abide by the following terms, and subject to these terms, Apple grants you a personal, non-exclusive license, under Apple's copyrights in this original Apple software (the "Apple Software"), to use, reproduce, modify and redistribute the Apple Software, with or without modifications, in source and/or binary forms; provided that if you redistribute the Apple Software in its entirety and without modifications, you must retain this notice and the following text and disclaimers in all such redistributions of the Apple Software. Neither the name, trademarks, service marks or logos of Apple Computer, Inc. may be used to endorse or promote products derived from the Apple Software without specific prior written permission from Apple. Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by Apple herein, including but not limited to any patent rights that may be infringed by your derivative works or by other works in which the Apple Software may be incorporated.[...]

See also List of word processors Comparison of word processors Office Open XML software OpenDocument software TextEdit (API)

References

External links

TextEdit in Mac Developer Library (with source code) c2: TextEdit Enhanced TextEdit from WWDC 2005 presentation

Illustrations

TextEdit illustration
TextEdit illustration

Worked examples

Example 1 — a first encounter with TextEdit

Start with the simplest possible case. Write down what TextEdit claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to TextEdit before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about TextEdit ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of TextEdit

In research
TextEdit appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses TextEdit in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
TextEdit is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free word processors, MacOS-only free software, MacOS-only software made by Apple Inc., so understanding it makes those chapters shorter.
In everyday life
Look for TextEdit outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “TextEdit” →

How to study TextEdit in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what TextEdit means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain TextEdit out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is TextEdit in simple terms?

TextEdit is an open-source word processor and text editor, first featured in NeXT's NeXTSTEP and OPENSTEP. It is now distributed with macOS since Apple's acquisition of NeXT, and available as a GNUstep application for other Unix-like operating systems such as Linux.

Why does TextEdit matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study TextEdit?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on TextEdit.

Tags

  • Free word processors
  • MacOS-only free software
  • MacOS-only software made by Apple Inc.
  • MacOS text editors
  • MacOS word processors
  • Software that uses GNUstep
  • Software using the BSD license

Keep exploring