-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathtextlayoutmanagerrenderdelegate.json
More file actions
1 lines (1 loc) · 9.51 KB
/
textlayoutmanagerrenderdelegate.json
File metadata and controls
1 lines (1 loc) · 9.51 KB
1
{"sections":[],"topicSections":[{"generated":true,"identifiers":["doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate\/characterXPosition(in:for:)","doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate\/estimatedLineHeight()","doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate\/lineFragmentView(for:)","doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate\/prepareForDisplay(textLine:displayData:range:stringRef:markedRanges:attachments:)"],"title":"Instance Methods","anchor":"Instance-Methods"}],"abstract":[{"text":"Provide an instance of this class to the ","type":"text"},{"identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManager","isActive":true,"type":"reference"},{"type":"text","text":" to override how the layout manager performs layout"},{"type":"text","text":" "},{"type":"text","text":"and display for text lines and fragments."}],"variants":[{"paths":["\/documentation\/codeedittextview\/textlayoutmanagerrenderdelegate"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"text":"TextLayoutManagerRenderDelegate","kind":"identifier"},{"kind":"text","text":" : AnyObject"}]}]},{"kind":"content","content":[{"level":2,"anchor":"overview","text":"Overview","type":"heading"},{"type":"paragraph","inlineContent":[{"text":"All methods on this protocol are optional, and default to the default behavior.","type":"text"}]}]}],"identifier":{"url":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"CodeEditTextView"}],"externalID":"s:16CodeEditTextView0C27LayoutManagerRenderDelegateP","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"TextLayoutManagerRenderDelegate"}],"roleHeading":"Protocol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"TextLayoutManagerRenderDelegate","kind":"identifier"}],"symbolKind":"protocol","title":"TextLayoutManagerRenderDelegate"},"references":{"doc://codeedittextview.CodeEditTextView/documentation/CodeEditTextView/TextLayoutManagerRenderDelegate":{"role":"symbol","navigatorTitle":[{"text":"TextLayoutManagerRenderDelegate","kind":"identifier"}],"url":"\/documentation\/codeedittextview\/textlayoutmanagerrenderdelegate","identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate","kind":"symbol","type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"TextLayoutManagerRenderDelegate"}],"abstract":[{"type":"text","text":"Provide an instance of this class to the "},{"identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManager","isActive":true,"type":"reference"},{"type":"text","text":" to override how the layout manager performs layout"},{"type":"text","text":" "},{"type":"text","text":"and display for text lines and fragments."}],"title":"TextLayoutManagerRenderDelegate"},"doc://codeedittextview.CodeEditTextView/documentation/CodeEditTextView/TextLayoutManagerRenderDelegate/lineFragmentView(for:)":{"identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate\/lineFragmentView(for:)","abstract":[],"required":true,"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"lineFragmentView","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"text":"LineFragment","kind":"typeIdentifier","preciseIdentifier":"s:16CodeEditTextView12LineFragmentC"},{"text":") -> ","kind":"text"},{"text":"LineFragmentView","kind":"typeIdentifier","preciseIdentifier":"c:@M@CodeEditTextView@objc(cs)LineFragmentView"}],"type":"topic","title":"lineFragmentView(for:)","defaultImplementations":1,"url":"\/documentation\/codeedittextview\/textlayoutmanagerrenderdelegate\/linefragmentview(for:)","role":"symbol","kind":"symbol"},"doc://codeedittextview.CodeEditTextView/documentation/CodeEditTextView/TextLayoutManagerRenderDelegate/prepareForDisplay(textLine:displayData:range:stringRef:markedRanges:attachments:)":{"url":"\/documentation\/codeedittextview\/textlayoutmanagerrenderdelegate\/preparefordisplay(textline:displaydata:range:stringref:markedranges:attachments:)","abstract":[],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"prepareForDisplay","kind":"identifier"},{"kind":"text","text":"("},{"text":"textLine","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"TextLine","preciseIdentifier":"s:16CodeEditTextView0C4LineC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"displayData"},{"text":": ","kind":"text"},{"text":"TextLine","kind":"typeIdentifier","preciseIdentifier":"s:16CodeEditTextView0C4LineC"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"DisplayData","preciseIdentifier":"s:16CodeEditTextView0C4LineC11DisplayDataV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"range"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@T@NSRange","text":"NSRange","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"stringRef"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"NSTextStorage","preciseIdentifier":"c:objc(cs)NSTextStorage"},{"text":", ","kind":"text"},{"text":"markedRanges","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:16CodeEditTextView12MarkedRangesV","text":"MarkedRanges"},{"text":"?, ","kind":"text"},{"text":"attachments","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"AnyTextAttachment","preciseIdentifier":"s:16CodeEditTextView03AnyC10AttachmentV"},{"kind":"text","text":"])"}],"defaultImplementations":1,"kind":"symbol","type":"topic","required":true,"title":"prepareForDisplay(textLine:displayData:range:stringRef:markedRanges:attachments:)","role":"symbol","identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate\/prepareForDisplay(textLine:displayData:range:stringRef:markedRanges:attachments:)"},"doc://codeedittextview.CodeEditTextView/documentation/CodeEditTextView":{"role":"collection","url":"\/documentation\/codeedittextview","kind":"symbol","title":"CodeEditTextView","type":"topic","abstract":[{"type":"text","text":"A text editor designed to edit code documents."}],"identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView"},"doc://codeedittextview.CodeEditTextView/documentation/CodeEditTextView/TextLayoutManager":{"role":"symbol","identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManager","url":"\/documentation\/codeedittextview\/textlayoutmanager","title":"TextLayoutManager","navigatorTitle":[{"text":"TextLayoutManager","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The text layout manager manages laying out lines in a code document."}],"kind":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"TextLayoutManager","kind":"identifier"}]},"doc://codeedittextview.CodeEditTextView/documentation/CodeEditTextView/TextLayoutManagerRenderDelegate/estimatedLineHeight()":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"estimatedLineHeight"},{"kind":"text","text":"() -> "},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"abstract":[],"defaultImplementations":1,"url":"\/documentation\/codeedittextview\/textlayoutmanagerrenderdelegate\/estimatedlineheight()","title":"estimatedLineHeight()","kind":"symbol","type":"topic","required":true,"identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate\/estimatedLineHeight()","role":"symbol"},"doc://codeedittextview.CodeEditTextView/documentation/CodeEditTextView/TextLayoutManagerRenderDelegate/characterXPosition(in:for:)":{"role":"symbol","identifier":"doc:\/\/codeedittextview.CodeEditTextView\/documentation\/CodeEditTextView\/TextLayoutManagerRenderDelegate\/characterXPosition(in:for:)","type":"topic","defaultImplementations":1,"abstract":[],"kind":"symbol","title":"characterXPosition(in:for:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"characterXPosition"},{"kind":"text","text":"("},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"text":"LineFragment","preciseIdentifier":"s:16CodeEditTextView12LineFragmentC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","kind":"typeIdentifier","text":"CGFloat"}],"url":"\/documentation\/codeedittextview\/textlayoutmanagerrenderdelegate\/characterxposition(in:for:)","required":true}}}