A tab stop on a typewriter is a location where the carriage movement is halted by an adjustable end stop. Tab stops are set manually, and pressing the tab key causes the carriage to go to the next tab stop. In on a computer, the same concept is implemented simplistically with automatic, fixed tab stops.
Modern generalize this concept by offering tab stops that have an alignment attribute and cause the text to be automatically aligned at left, at right or center of the tab stop itself. Such tab stops are paragraph-specific properties and can be moved to a different location in any moment, or even removed.
Sometimes, placeholders in code snippets are also called "tab stops" because the user can cycle through them by pressing the tab key.
In 2006, Nick Gravgaard published an algorithm for automatic dynamic tab stops called "Elastic tabstops". This can be useful for viewing/editing source code and is naturally essential for tabular data. Various text editors and IDEs have implemented the elastic tabstops algorithm either directly or by extension.
|
|