{"size": 734, "ext": "scrbl", "max_stars_repo_path": "gui-doc/scribblings/gui/tab-snip-class.scrbl", "max_stars_repo_name": "jjsimpso/gui", "max_stars_repo_stars_event_min_datetime": "2015-03-17T22:11:52.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-12T15:09:34.000Z", "max_issues_repo_path": "gui-doc/scribblings/gui/tab-snip-class.scrbl", "max_issues_repo_name": "jjsimpso/gui", "max_issues_repo_issues_event_min_datetime": "2015-01-09T15:53:25.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T16:21:29.000Z", "max_forks_repo_path": "gui-doc/scribblings/gui/tab-snip-class.scrbl", "max_forks_repo_name": "jjsimpso/gui", "max_forks_repo_forks_event_min_datetime": "2015-01-08T13:03:07.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-26T21:49:09.000Z"}
{"max_stars_count": 65, "max_issues_count": 231, "max_forks_count": 89, "avg_line_length": 30.5833333333, "max_line_length": 70, "alphanum_fraction": 0.7479564033}
#lang scribble/doc
@(require "common.rkt")

@defclass/title[tab-snip% string-snip% ()]{

An instance of @racket[tab-snip%] is created automatically when a
 tab is inserted into an editor.


@defconstructor[()]{

Creates a snip for a single tab, though the tab is initially empty.

Normally, a single tab is inserted into a @racket[tab-snip%] object
 using the @method[string-snip% insert] method.

The tab's content is not drawn, through it is used when determining
 the size of a single character in editors where tabbing is determined
 by the character width (see @method[text% set-tabs]); if the content
 is a single tab character (the normal case), then the average
 character width of snip's font is used as the tab's width.

}}
