diff --git a/docs/Classes.html b/docs/Classes.html index c6b81cdd..26371ab8 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -919,7 +919,7 @@
+
+
+ forceApplyAttributedText
+
+ Forces setting attributed text in EditorView
even if it is not
+yet in view hierarchy.
Note
+ This may result in misplacedAttachment
s and is recommended to be set to true
only in unit tests.
+
+Swift
+public var forceApplyAttributedText: Bool
+
+
@@ -2226,6 +2259,38 @@ Declaration
+
+
+ didMoveToWindow()
+
+ Subclasses can override it to perform additional actions whenever the window changes.
+Important
+ Overriding implementations must callsuper.didMoveToWindow()
+
+Swift
+open override func didMoveToWindow()
+
+
@@ -2366,9 +2431,9 @@ Declaration
@@ -2389,7 +2454,7 @@ Declaration
Declaration
Swift
- public func getFullAttributedText(using attachmentContentIdentifier: AttachmentContentIdentifier) -> NSAttributedString
+ public func getFullAttributedText(using attachmentContentIdentifier: AttachmentContentIdentifier, in range: NSRange? = nil) -> NSAttributedString
@@ -4411,7 +4476,7 @@ Return Value
diff --git a/docs/Classes/EditorViewContext.html b/docs/Classes/EditorViewContext.html
index aedfa3a9..ad3bb58c 100644
--- a/docs/Classes/EditorViewContext.html
+++ b/docs/Classes/EditorViewContext.html
@@ -547,7 +547,7 @@ Parameters
diff --git a/docs/Classes/FontTraitToggleCommand.html b/docs/Classes/FontTraitToggleCommand.html
index 3ad8d58f..05b6d899 100644
--- a/docs/Classes/FontTraitToggleCommand.html
+++ b/docs/Classes/FontTraitToggleCommand.html
@@ -460,7 +460,7 @@ Declaration
diff --git a/docs/Classes/GridCell.html b/docs/Classes/GridCell.html
index 98cf9f9d..34fc7abc 100644
--- a/docs/Classes/GridCell.html
+++ b/docs/Classes/GridCell.html
@@ -909,7 +909,7 @@ Declaration
diff --git a/docs/Classes/GridView.html b/docs/Classes/GridView.html
index dfeb7fb9..51e6d715 100644
--- a/docs/Classes/GridView.html
+++ b/docs/Classes/GridView.html
@@ -1672,7 +1672,7 @@ Declaration
diff --git a/docs/Classes/ItalicsCommand.html b/docs/Classes/ItalicsCommand.html
index 54f9e0d3..5547b141 100644
--- a/docs/Classes/ItalicsCommand.html
+++ b/docs/Classes/ItalicsCommand.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/Classes/ListCommand.html b/docs/Classes/ListCommand.html
index 660ed7de..4c8f6f4e 100644
--- a/docs/Classes/ListCommand.html
+++ b/docs/Classes/ListCommand.html
@@ -549,7 +549,7 @@ Parameters
diff --git a/docs/Classes/ListIndentCommand.html b/docs/Classes/ListIndentCommand.html
index 01c50733..e49112c6 100644
--- a/docs/Classes/ListIndentCommand.html
+++ b/docs/Classes/ListIndentCommand.html
@@ -436,7 +436,7 @@ Declaration
diff --git a/docs/Classes/ListOutdentCommand.html b/docs/Classes/ListOutdentCommand.html
index f55b83b9..0604694f 100644
--- a/docs/Classes/ListOutdentCommand.html
+++ b/docs/Classes/ListOutdentCommand.html
@@ -436,7 +436,7 @@ Declaration
diff --git a/docs/Classes/ListTextProcessor.html b/docs/Classes/ListTextProcessor.html
index 054541a0..2ac39e63 100644
--- a/docs/Classes/ListTextProcessor.html
+++ b/docs/Classes/ListTextProcessor.html
@@ -576,7 +576,7 @@ Declaration
diff --git a/docs/Classes/ShadowStyle.html b/docs/Classes/ShadowStyle.html
index 3fdbf030..31b881b4 100644
--- a/docs/Classes/ShadowStyle.html
+++ b/docs/Classes/ShadowStyle.html
@@ -462,7 +462,7 @@ Declaration
diff --git a/docs/Classes/StrikethroughCommand.html b/docs/Classes/StrikethroughCommand.html
index dfe6f022..d36231f6 100644
--- a/docs/Classes/StrikethroughCommand.html
+++ b/docs/Classes/StrikethroughCommand.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/Classes/UnderlineCommand.html b/docs/Classes/UnderlineCommand.html
index 44226968..63c011b2 100644
--- a/docs/Classes/UnderlineCommand.html
+++ b/docs/Classes/UnderlineCommand.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/Enums.html b/docs/Enums.html
index 9594cfd9..99c4588b 100644
--- a/docs/Enums.html
+++ b/docs/Enums.html
@@ -718,7 +718,7 @@ Declaration
diff --git a/docs/Enums/AsyncTextResolvingResult.html b/docs/Enums/AsyncTextResolvingResult.html
index 4fb8f2bc..f0493b0d 100644
--- a/docs/Enums/AsyncTextResolvingResult.html
+++ b/docs/Enums/AsyncTextResolvingResult.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/Enums/AttachmentSize.html b/docs/Enums/AttachmentSize.html
index cc6e7d93..7fab00f9 100644
--- a/docs/Enums/AttachmentSize.html
+++ b/docs/Enums/AttachmentSize.html
@@ -489,7 +489,7 @@ Declaration
diff --git a/docs/Enums/AttachmentType.html b/docs/Enums/AttachmentType.html
index 1c5671fd..c82b241d 100644
--- a/docs/Enums/AttachmentType.html
+++ b/docs/Enums/AttachmentType.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/Enums/BackgroundMode.html b/docs/Enums/BackgroundMode.html
index a2c5826f..afdb2f58 100644
--- a/docs/Enums/BackgroundMode.html
+++ b/docs/Enums/BackgroundMode.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/Enums/EditorContentMode.html b/docs/Enums/EditorContentMode.html
index f61b5eaf..d4feb5b3 100644
--- a/docs/Enums/EditorContentMode.html
+++ b/docs/Enums/EditorContentMode.html
@@ -415,7 +415,7 @@ Declaration
diff --git a/docs/Enums/EditorContentType.html b/docs/Enums/EditorContentType.html
index 25a14ca0..c96bb6a4 100644
--- a/docs/Enums/EditorContentType.html
+++ b/docs/Enums/EditorContentType.html
@@ -435,7 +435,7 @@ Declaration
diff --git a/docs/Enums/EditorHeight.html b/docs/Enums/EditorHeight.html
index 3a04edb0..b3badde5 100644
--- a/docs/Enums/EditorHeight.html
+++ b/docs/Enums/EditorHeight.html
@@ -441,7 +441,7 @@ Declaration
diff --git a/docs/Enums/EditorKey.html b/docs/Enums/EditorKey.html
index 8f04c4e6..692ca5f3 100644
--- a/docs/Enums/EditorKey.html
+++ b/docs/Enums/EditorKey.html
@@ -435,7 +435,7 @@ Declaration
diff --git a/docs/Enums/GridColumnWidth.html b/docs/Enums/GridColumnWidth.html
index c7fb0b43..5b3b6fe6 100644
--- a/docs/Enums/GridColumnWidth.html
+++ b/docs/Enums/GridColumnWidth.html
@@ -435,7 +435,7 @@ Declaration
diff --git a/docs/Enums/GridViewError.html b/docs/Enums/GridViewError.html
index 56590249..d59c28ef 100644
--- a/docs/Enums/GridViewError.html
+++ b/docs/Enums/GridViewError.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/Enums/Indentation.html b/docs/Enums/Indentation.html
index 5059099b..20f0c905 100644
--- a/docs/Enums/Indentation.html
+++ b/docs/Enums/Indentation.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/Enums/ListLineMarker.html b/docs/Enums/ListLineMarker.html
index 99277f9d..3dafa23a 100644
--- a/docs/Enums/ListLineMarker.html
+++ b/docs/Enums/ListLineMarker.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/Enums/RoundedCornerStyle.html b/docs/Enums/RoundedCornerStyle.html
index ac386e2e..cca4ff80 100644
--- a/docs/Enums/RoundedCornerStyle.html
+++ b/docs/Enums/RoundedCornerStyle.html
@@ -409,7 +409,7 @@ Declaration
diff --git a/docs/Extensions.html b/docs/Extensions.html
index 76c79344..71d5d998 100644
--- a/docs/Extensions.html
+++ b/docs/Extensions.html
@@ -556,7 +556,7 @@ Declaration
diff --git a/docs/Extensions/EditorContentName.html b/docs/Extensions/EditorContentName.html
index f3d80452..cc42419e 100644
--- a/docs/Extensions/EditorContentName.html
+++ b/docs/Extensions/EditorContentName.html
@@ -515,7 +515,7 @@ Declaration
diff --git a/docs/Extensions/NSAttributedString.html b/docs/Extensions/NSAttributedString.html
index 2a40f24f..7ee5148c 100644
--- a/docs/Extensions/NSAttributedString.html
+++ b/docs/Extensions/NSAttributedString.html
@@ -973,7 +973,7 @@ Declaration
diff --git a/docs/Extensions/NSAttributedString/Key.html b/docs/Extensions/NSAttributedString/Key.html
index f922ddea..e2c3b470 100644
--- a/docs/Extensions/NSAttributedString/Key.html
+++ b/docs/Extensions/NSAttributedString/Key.html
@@ -617,7 +617,7 @@ Declaration
diff --git a/docs/Extensions/NSParagraphStyle.html b/docs/Extensions/NSParagraphStyle.html
index 90114d7a..3bdd23c6 100644
--- a/docs/Extensions/NSParagraphStyle.html
+++ b/docs/Extensions/NSParagraphStyle.html
@@ -407,7 +407,7 @@ Declaration
diff --git a/docs/Extensions/NSRange.html b/docs/Extensions/NSRange.html
index bd1e3c94..3cfc0141 100644
--- a/docs/Extensions/NSRange.html
+++ b/docs/Extensions/NSRange.html
@@ -635,7 +635,7 @@ Return Value
diff --git a/docs/Extensions/String.html b/docs/Extensions/String.html
index 11420118..35654500 100644
--- a/docs/Extensions/String.html
+++ b/docs/Extensions/String.html
@@ -491,7 +491,7 @@ Parameters
diff --git a/docs/Extensions/TextProcessingPriority.html b/docs/Extensions/TextProcessingPriority.html
index df330e16..742ab72e 100644
--- a/docs/Extensions/TextProcessingPriority.html
+++ b/docs/Extensions/TextProcessingPriority.html
@@ -462,7 +462,7 @@ Declaration
diff --git a/docs/Extensions/UIFont.html b/docs/Extensions/UIFont.html
index fa1aa819..5bc930f6 100644
--- a/docs/Extensions/UIFont.html
+++ b/docs/Extensions/UIFont.html
@@ -650,7 +650,7 @@ Declaration
diff --git a/docs/Extensions/UITextRange.html b/docs/Extensions/UITextRange.html
index 7ef5db9d..4249f5bb 100644
--- a/docs/Extensions/UITextRange.html
+++ b/docs/Extensions/UITextRange.html
@@ -399,7 +399,7 @@ Parameters
diff --git a/docs/Protocols.html b/docs/Protocols.html
index 4755677e..f8976a74 100644
--- a/docs/Protocols.html
+++ b/docs/Protocols.html
@@ -984,7 +984,7 @@ Declaration
diff --git a/docs/Protocols/AsyncTextResolving.html b/docs/Protocols/AsyncTextResolving.html
index 76dde72b..bd52ccac 100644
--- a/docs/Protocols/AsyncTextResolving.html
+++ b/docs/Protocols/AsyncTextResolving.html
@@ -470,7 +470,7 @@ Parameters
diff --git a/docs/Protocols/AttachmentEncoding.html b/docs/Protocols/AttachmentEncoding.html
index 75986a03..1cba4b32 100644
--- a/docs/Protocols/AttachmentEncoding.html
+++ b/docs/Protocols/AttachmentEncoding.html
@@ -439,7 +439,7 @@ Parameters
diff --git a/docs/Protocols/AttachmentOffsetProviding.html b/docs/Protocols/AttachmentOffsetProviding.html
index c53aff58..40a5cae3 100644
--- a/docs/Protocols/AttachmentOffsetProviding.html
+++ b/docs/Protocols/AttachmentOffsetProviding.html
@@ -393,7 +393,7 @@ Declaration
diff --git a/docs/Protocols/AttachmentTypeIdentifying.html b/docs/Protocols/AttachmentTypeIdentifying.html
index afd60465..efcff36a 100644
--- a/docs/Protocols/AttachmentTypeIdentifying.html
+++ b/docs/Protocols/AttachmentTypeIdentifying.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/Protocols/AttributesDecoding.html b/docs/Protocols/AttributesDecoding.html
index 1a462038..19f62847 100644
--- a/docs/Protocols/AttributesDecoding.html
+++ b/docs/Protocols/AttributesDecoding.html
@@ -435,7 +435,7 @@ Declaration
diff --git a/docs/Protocols/BoundsObserving.html b/docs/Protocols/BoundsObserving.html
index 09ad5060..87097760 100644
--- a/docs/Protocols/BoundsObserving.html
+++ b/docs/Protocols/BoundsObserving.html
@@ -418,7 +418,7 @@ Parameters
diff --git a/docs/Protocols/DynamicBoundsProviding.html b/docs/Protocols/DynamicBoundsProviding.html
index f599c6b2..efabad18 100644
--- a/docs/Protocols/DynamicBoundsProviding.html
+++ b/docs/Protocols/DynamicBoundsProviding.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/Protocols/EditorCommand.html b/docs/Protocols/EditorCommand.html
index 84987522..6d3dad54 100644
--- a/docs/Protocols/EditorCommand.html
+++ b/docs/Protocols/EditorCommand.html
@@ -485,7 +485,7 @@ Parameters
diff --git a/docs/Protocols/EditorContentDecoding.html b/docs/Protocols/EditorContentDecoding.html
index 6ae14a37..f23722d1 100644
--- a/docs/Protocols/EditorContentDecoding.html
+++ b/docs/Protocols/EditorContentDecoding.html
@@ -406,9 +406,9 @@ Declaration
@@ -423,7 +423,7 @@ Declaration
Declaration
Swift
- func decode(mode: EditorContentMode, maxSize: CGSize, value: TypeToDecode, context: DecodingContext) -> NSAttributedString
+ func decode(mode: EditorContentMode, maxSize: CGSize, value: TypeToDecode, context: DecodingContext) throws -> NSAttributedString
@@ -490,7 +490,7 @@ Parameters
diff --git a/docs/Protocols/EditorContentEncoder.html b/docs/Protocols/EditorContentEncoder.html
index 2c3450f5..f5544a46 100644
--- a/docs/Protocols/EditorContentEncoder.html
+++ b/docs/Protocols/EditorContentEncoder.html
@@ -511,7 +511,7 @@ Parameters
diff --git a/docs/Protocols/EditorContentEncoding.html b/docs/Protocols/EditorContentEncoding.html
index 5a13245f..3167c74b 100644
--- a/docs/Protocols/EditorContentEncoding.html
+++ b/docs/Protocols/EditorContentEncoding.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/Protocols/EditorContentIdentifying.html b/docs/Protocols/EditorContentIdentifying.html
index eac6acf4..61265a8e 100644
--- a/docs/Protocols/EditorContentIdentifying.html
+++ b/docs/Protocols/EditorContentIdentifying.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/Protocols/EditorContentView.html b/docs/Protocols/EditorContentView.html
index 12160551..c3047a3e 100644
--- a/docs/Protocols/EditorContentView.html
+++ b/docs/Protocols/EditorContentView.html
@@ -588,7 +588,7 @@ Declaration
diff --git a/docs/Protocols/EditorListFormattingProvider.html b/docs/Protocols/EditorListFormattingProvider.html
index 0aae8549..eeb26d18 100644
--- a/docs/Protocols/EditorListFormattingProvider.html
+++ b/docs/Protocols/EditorListFormattingProvider.html
@@ -485,7 +485,7 @@ Return Value
diff --git a/docs/Protocols/EditorTextEncoding.html b/docs/Protocols/EditorTextEncoding.html
index 17dc71dc..bc5c71ee 100644
--- a/docs/Protocols/EditorTextEncoding.html
+++ b/docs/Protocols/EditorTextEncoding.html
@@ -458,7 +458,7 @@ Parameters
diff --git a/docs/Protocols/EditorViewDelegate.html b/docs/Protocols/EditorViewDelegate.html
index 38e2d7d4..129959d7 100644
--- a/docs/Protocols/EditorViewDelegate.html
+++ b/docs/Protocols/EditorViewDelegate.html
@@ -1046,13 +1046,12 @@ Parameters
- Undocumented
+ Invoked whenever layout pass completes as a result of changing or text or attributes
Default Implementation
- Undocumented
-
+
Declaration
@@ -1062,6 +1061,232 @@ Declaration
+
+ editor
+
+ |
+
+
+
+ Editor view receiving the event. + |
+
+
+ content
+
+ |
+
+
+
+ Attributed text value. + |
+
+
+
+ editor(_:willSetAttributedText:)
+
+
+ Default implementation
+
+ Invoked before attributedText is set on the EditorView
Swift
+func editor(_ editor: EditorView, willSetAttributedText attributedText: NSAttributedString)
+
+
+
+ editor
+
+ |
+
+
+
+ Editor view receiving the event. + |
+
+
+ content
+
+ |
+
+
+
+ Attributed text value to be set. + |
+
+
+
+ editor(_:didSetAttributedText:)
+
+
+ Default implementation
+
+ Invoked after attributedText is set on the EditorView
Swift
+func editor(_ editor: EditorView, didSetAttributedText attributedText: NSAttributedString)
+
+
+
+ editor
+
+ |
+
+
+
+ Editor view receiving the event. + |
+
+
+ content
+
+ |
+
+
+
+ Attributed text value set on the editor. + |
+
+
+
+ editor(_editor:isReady:)
+
+
+ Default implementation
+
+ Invoked when Editor has been added to the view hierarchy and is ready to receive events.
+ +Swift
+func editor(_editor: EditorView, isReady: Bool)
+
+
+
+ editor
+
+ |
+
+
+
+ Editor view receiving the event. + |
+
+
+ isReady
+
+ |
+
+
+
+
|
+
Swift
-public func decode(mode: EditorContentMode, maxSize: CGSize, value: T, context: C) -> NSAttributedString
+ public func decode(mode: EditorContentMode, maxSize: CGSize, value: T, context: C) throws -> NSAttributedString
+
+
+ forceApplyAttributedText
+
+ Forces setting attributed text in EditorView
even if it is not
+yet in view hierarchy.
Note
+ This may result in misplacedAttachment
s and is recommended to be set to true
only in unit tests.
+
+Swift
+public var forceApplyAttributedText: Bool
+
+
@@ -2226,6 +2259,38 @@ Declaration
+
+
+ didMoveToWindow()
+
+ Subclasses can override it to perform additional actions whenever the window changes.
+Important
+ Overriding implementations must callsuper.didMoveToWindow()
+
+Swift
+open override func didMoveToWindow()
+
+
@@ -2366,9 +2431,9 @@ Declaration
@@ -2389,7 +2454,7 @@ Declaration
Declaration
Swift
- public func getFullAttributedText(using attachmentContentIdentifier: AttachmentContentIdentifier) -> NSAttributedString
+ public func getFullAttributedText(using attachmentContentIdentifier: AttachmentContentIdentifier, in range: NSRange? = nil) -> NSAttributedString
@@ -4411,7 +4476,7 @@ Return Value
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/EditorViewContext.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/EditorViewContext.html
index aedfa3a9..ad3bb58c 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/EditorViewContext.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/EditorViewContext.html
@@ -547,7 +547,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/FontTraitToggleCommand.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/FontTraitToggleCommand.html
index 3ad8d58f..05b6d899 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/FontTraitToggleCommand.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/FontTraitToggleCommand.html
@@ -460,7 +460,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/GridCell.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/GridCell.html
index 98cf9f9d..34fc7abc 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/GridCell.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/GridCell.html
@@ -909,7 +909,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/GridView.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/GridView.html
index dfeb7fb9..51e6d715 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/GridView.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/GridView.html
@@ -1672,7 +1672,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ItalicsCommand.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ItalicsCommand.html
index 54f9e0d3..5547b141 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ItalicsCommand.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ItalicsCommand.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListCommand.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListCommand.html
index 660ed7de..4c8f6f4e 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListCommand.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListCommand.html
@@ -549,7 +549,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListIndentCommand.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListIndentCommand.html
index 01c50733..e49112c6 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListIndentCommand.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListIndentCommand.html
@@ -436,7 +436,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListOutdentCommand.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListOutdentCommand.html
index f55b83b9..0604694f 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListOutdentCommand.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListOutdentCommand.html
@@ -436,7 +436,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListTextProcessor.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListTextProcessor.html
index 054541a0..2ac39e63 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListTextProcessor.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ListTextProcessor.html
@@ -576,7 +576,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ShadowStyle.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ShadowStyle.html
index 3fdbf030..31b881b4 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ShadowStyle.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/ShadowStyle.html
@@ -462,7 +462,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/StrikethroughCommand.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/StrikethroughCommand.html
index dfe6f022..d36231f6 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/StrikethroughCommand.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/StrikethroughCommand.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/UnderlineCommand.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/UnderlineCommand.html
index 44226968..63c011b2 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/UnderlineCommand.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Classes/UnderlineCommand.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums.html
index 9594cfd9..99c4588b 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums.html
@@ -718,7 +718,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AsyncTextResolvingResult.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AsyncTextResolvingResult.html
index 4fb8f2bc..f0493b0d 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AsyncTextResolvingResult.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AsyncTextResolvingResult.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AttachmentSize.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AttachmentSize.html
index cc6e7d93..7fab00f9 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AttachmentSize.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AttachmentSize.html
@@ -489,7 +489,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AttachmentType.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AttachmentType.html
index 1c5671fd..c82b241d 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AttachmentType.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/AttachmentType.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/BackgroundMode.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/BackgroundMode.html
index a2c5826f..afdb2f58 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/BackgroundMode.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/BackgroundMode.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorContentMode.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorContentMode.html
index f61b5eaf..d4feb5b3 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorContentMode.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorContentMode.html
@@ -415,7 +415,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorContentType.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorContentType.html
index 25a14ca0..c96bb6a4 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorContentType.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorContentType.html
@@ -435,7 +435,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorHeight.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorHeight.html
index 3a04edb0..b3badde5 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorHeight.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorHeight.html
@@ -441,7 +441,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorKey.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorKey.html
index 8f04c4e6..692ca5f3 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorKey.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/EditorKey.html
@@ -435,7 +435,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/GridColumnWidth.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/GridColumnWidth.html
index c7fb0b43..5b3b6fe6 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/GridColumnWidth.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/GridColumnWidth.html
@@ -435,7 +435,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/GridViewError.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/GridViewError.html
index 56590249..d59c28ef 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/GridViewError.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/GridViewError.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/Indentation.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/Indentation.html
index 5059099b..20f0c905 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/Indentation.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/Indentation.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/ListLineMarker.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/ListLineMarker.html
index 99277f9d..3dafa23a 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/ListLineMarker.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/ListLineMarker.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/RoundedCornerStyle.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/RoundedCornerStyle.html
index ac386e2e..cca4ff80 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/RoundedCornerStyle.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Enums/RoundedCornerStyle.html
@@ -409,7 +409,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions.html
index 76c79344..71d5d998 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions.html
@@ -556,7 +556,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/EditorContentName.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/EditorContentName.html
index f3d80452..cc42419e 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/EditorContentName.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/EditorContentName.html
@@ -515,7 +515,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSAttributedString.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSAttributedString.html
index 2a40f24f..7ee5148c 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSAttributedString.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSAttributedString.html
@@ -973,7 +973,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSAttributedString/Key.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSAttributedString/Key.html
index f922ddea..e2c3b470 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSAttributedString/Key.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSAttributedString/Key.html
@@ -617,7 +617,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSParagraphStyle.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSParagraphStyle.html
index 90114d7a..3bdd23c6 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSParagraphStyle.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSParagraphStyle.html
@@ -407,7 +407,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSRange.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSRange.html
index bd1e3c94..3cfc0141 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSRange.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/NSRange.html
@@ -635,7 +635,7 @@ Return Value
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/String.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/String.html
index 11420118..35654500 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/String.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/String.html
@@ -491,7 +491,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/TextProcessingPriority.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/TextProcessingPriority.html
index df330e16..742ab72e 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/TextProcessingPriority.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/TextProcessingPriority.html
@@ -462,7 +462,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/UIFont.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/UIFont.html
index fa1aa819..5bc930f6 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/UIFont.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/UIFont.html
@@ -650,7 +650,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/UITextRange.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/UITextRange.html
index 7ef5db9d..4249f5bb 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/UITextRange.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Extensions/UITextRange.html
@@ -399,7 +399,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols.html
index 4755677e..f8976a74 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols.html
@@ -984,7 +984,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AsyncTextResolving.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AsyncTextResolving.html
index 76dde72b..bd52ccac 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AsyncTextResolving.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AsyncTextResolving.html
@@ -470,7 +470,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentEncoding.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentEncoding.html
index 75986a03..1cba4b32 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentEncoding.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentEncoding.html
@@ -439,7 +439,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentOffsetProviding.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentOffsetProviding.html
index c53aff58..40a5cae3 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentOffsetProviding.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentOffsetProviding.html
@@ -393,7 +393,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentTypeIdentifying.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentTypeIdentifying.html
index afd60465..efcff36a 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentTypeIdentifying.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttachmentTypeIdentifying.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttributesDecoding.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttributesDecoding.html
index 1a462038..19f62847 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttributesDecoding.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/AttributesDecoding.html
@@ -435,7 +435,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/BoundsObserving.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/BoundsObserving.html
index 09ad5060..87097760 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/BoundsObserving.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/BoundsObserving.html
@@ -418,7 +418,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/DynamicBoundsProviding.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/DynamicBoundsProviding.html
index f599c6b2..efabad18 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/DynamicBoundsProviding.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/DynamicBoundsProviding.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorCommand.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorCommand.html
index 84987522..6d3dad54 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorCommand.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorCommand.html
@@ -485,7 +485,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentDecoding.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentDecoding.html
index 6ae14a37..f23722d1 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentDecoding.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentDecoding.html
@@ -406,9 +406,9 @@ Declaration
@@ -423,7 +423,7 @@ Declaration
Declaration
Swift
- func decode(mode: EditorContentMode, maxSize: CGSize, value: TypeToDecode, context: DecodingContext) -> NSAttributedString
+ func decode(mode: EditorContentMode, maxSize: CGSize, value: TypeToDecode, context: DecodingContext) throws -> NSAttributedString
@@ -490,7 +490,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentEncoder.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentEncoder.html
index 2c3450f5..f5544a46 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentEncoder.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentEncoder.html
@@ -511,7 +511,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentEncoding.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentEncoding.html
index 5a13245f..3167c74b 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentEncoding.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentEncoding.html
@@ -408,7 +408,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentIdentifying.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentIdentifying.html
index eac6acf4..61265a8e 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentIdentifying.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentIdentifying.html
@@ -381,7 +381,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentView.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentView.html
index 12160551..c3047a3e 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentView.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorContentView.html
@@ -588,7 +588,7 @@ Declaration
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorListFormattingProvider.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorListFormattingProvider.html
index 0aae8549..eeb26d18 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorListFormattingProvider.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorListFormattingProvider.html
@@ -485,7 +485,7 @@ Return Value
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorTextEncoding.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorTextEncoding.html
index 17dc71dc..bc5c71ee 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorTextEncoding.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorTextEncoding.html
@@ -458,7 +458,7 @@ Parameters
diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorViewDelegate.html b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorViewDelegate.html
index 38e2d7d4..129959d7 100644
--- a/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorViewDelegate.html
+++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/Protocols/EditorViewDelegate.html
@@ -1046,13 +1046,12 @@ Parameters
- Undocumented
+ Invoked whenever layout pass completes as a result of changing or text or attributes
Default Implementation
- Undocumented
-
+
Declaration
@@ -1062,6 +1061,232 @@ Declaration
+
+ editor
+
+ |
+
+
+
+ Editor view receiving the event. + |
+
+
+ content
+
+ |
+
+
+
+ Attributed text value. + |
+
+
+
+ editor(_:willSetAttributedText:)
+
+
+ Default implementation
+
+ Invoked before attributedText is set on the EditorView
Swift
+func editor(_ editor: EditorView, willSetAttributedText attributedText: NSAttributedString)
+
+
+
+ editor
+
+ |
+
+
+
+ Editor view receiving the event. + |
+
+
+ content
+
+ |
+
+
+
+ Attributed text value to be set. + |
+
+
+
+ editor(_:didSetAttributedText:)
+
+
+ Default implementation
+
+ Invoked after attributedText is set on the EditorView
Swift
+func editor(_ editor: EditorView, didSetAttributedText attributedText: NSAttributedString)
+
+
+
+ editor
+
+ |
+
+
+
+ Editor view receiving the event. + |
+
+
+ content
+
+ |
+
+
+
+ Attributed text value set on the editor. + |
+
+
+
+ editor(_editor:isReady:)
+
+
+ Default implementation
+
+ Invoked when Editor has been added to the view hierarchy and is ready to receive events.
+ +Swift
+func editor(_editor: EditorView, isReady: Bool)
+
+
+
+ editor
+
+ |
+
+
+
+ Editor view receiving the event. + |
+
+
+ isReady
+
+ |
+
+
+
+
|
+
Swift
-public func decode(mode: EditorContentMode, maxSize: CGSize, value: T, context: C) -> NSAttributedString
+ public func decode(mode: EditorContentMode, maxSize: CGSize, value: T, context: C) throws -> NSAttributedString
Undocumented
"},"Typealiases.html#/s:6Proton14AttachmentViewa":{"name":"AttachmentView","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton25AttachmentViewIdentifyinga":{"name":"AttachmentViewIdentifying","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton22TextProcessingPrioritya":{"name":"TextProcessingPriority","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton9Processeda":{"name":"Processed","abstract":"Undocumented
"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5colorSo7UIColorCvp":{"name":"color","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5color5widthAESo7UIColorC_14CoreFoundation7CGFloatVtcfc":{"name":"init(color:width:)","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html":{"name":"BorderStyle","abstract":"Border style for individual cells. This may be used to override the style provided in the GridStyle
for individual cells
Default background color for the cell.
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV9textColorSo7UIColorCSgvp":{"name":"textColor","abstract":"Default text color for the cell
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV4fontSo6UIFontCSgvp":{"name":"font","abstract":"Default font for the cell
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV06borderD0AC06BorderD0VSgvp":{"name":"borderStyle","abstract":"Undocumented
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV15backgroundColor04textF04font06borderD0ACSo7UIColorCSg_AJSo6UIFontCSgAC06BorderD0VSgtcfc":{"name":"init(backgroundColor:textColor:font:borderStyle:)","abstract":"Undocumented
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV6merged5style5otherA2C_ACtFZ":{"name":"merged(style:other:)","abstract":"Creates a merged styles from given styles with precedence to the first style and any missing values used from the second style
","parent_name":"GridCellStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderColorSo7UIColorCvp":{"name":"borderColor","abstract":"Border color for grid
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderWidth14CoreFoundation7CGFloatVvp":{"name":"borderWidth","abstract":"Border width for the grid
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV7defaultACvpZ":{"name":"default","abstract":"Default style
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderColor0D5WidthACSo7UIColorC_14CoreFoundation7CGFloatVtcfc":{"name":"init(borderColor:borderWidth:)","abstract":"Undocumented
","parent_name":"GridStyle"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV5styleAA0B5StyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV23boundsLimitShadowColorsAA08GradientG0Vvp":{"name":"boundsLimitShadowColors","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV07columnsC0SayAA0b6ColumnC0VGvp":{"name":"columnsConfiguration","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV04rowsC0SayAA0b3RowC0VGvp":{"name":"rowsConfiguration","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV20collapsedColumnWidth14CoreFoundation7CGFloatVvp":{"name":"collapsedColumnWidth","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV18collapsedRowHeight14CoreFoundation7CGFloatVvp":{"name":"collapsedRowHeight","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV07columnsC004rowsC05style23boundsLimitShadowColors20collapsedColumnWidth0K9RowHeightACSayAA0blC0VG_SayAA0bnC0VGAA0B5StyleVAA08GradientJ0V14CoreFoundation7CGFloatVAVtcfc":{"name":"init(columnsConfiguration:rowsConfiguration:style:boundsLimitShadowColors:collapsedColumnWidth:collapsedRowHeight:)","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV15numberOfColumnsSivp":{"name":"numberOfColumns","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV12numberOfRowsSivp":{"name":"numberOfRows","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV7primarySo7UIColorCvp":{"name":"primary","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV9secondarySo7UIColorCvp":{"name":"secondary","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV7primary9secondaryACSo7UIColorC_AGtcfc":{"name":"init(primary:secondary:)","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV13initialHeight14CoreFoundation7CGFloatVvp":{"name":"initialHeight","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV5styleAA0B9CellStyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV13initialHeight5styleAC14CoreFoundation7CGFloatV_AA0B9CellStyleVtcfc":{"name":"init(initialHeight:style:)","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5widthAA0bC5WidthOvp":{"name":"width","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5styleAA0B9CellStyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5width5styleAcA0bC5WidthO_AA0B9CellStyleVtcfc":{"name":"init(width:style:)","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingV11EncodedTypea":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingVyACyxGqd__c11EncodedTypeQyd__RszAA0eF0Rd__lufc":{"name":"init(_:)","abstract":"Initializes the Encoder
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingV6encode4name4viewxSo08PREditorD4NameC_So6UIViewCtF":{"name":"encode(name:view:)","abstract":"Encodes contents based on concrete encoder provided during initialization
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingV11EncodedTypea":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AnyEditorTextEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingVyACyxGqd__c11EncodedTypeQyd__RszAA0cdE0Rd__lufc":{"name":"init(_:)","abstract":"Initializes the Encoder
","parent_name":"AnyEditorTextEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingV6encode4name6stringxSo19PREditorContentNameC_So18NSAttributedStringCtF":{"name":"encode(name:string:)","abstract":"Encodes contents based on concrete encoder provided during initialization
","parent_name":"AnyEditorTextEncoding"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV11indentation14CoreFoundation7CGFloatVvp":{"name":"indentation","abstract":"Indentation of line
","parent_name":"LineFormatting"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV13spacingBefore14CoreFoundation7CGFloatVvp":{"name":"spacingBefore","abstract":"Vertical spacing before the line
","parent_name":"LineFormatting"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV11indentation13spacingBeforeAC14CoreFoundation7CGFloatV_AHtcfc":{"name":"init(indentation:spacingBefore:)","abstract":"Initializes
","parent_name":"LineFormatting"},"Structs/EditorLine.html#/s:6Proton10EditorLineV4textSo18NSAttributedStringCvp":{"name":"text","abstract":"Text contained in the current line.
","parent_name":"EditorLine"},"Structs/EditorLine.html#/s:6Proton10EditorLineV5rangeSo8_NSRangeVvp":{"name":"range","abstract":"Range of text in the EditorView
for the current line.
Determines if the current line starts with given text.","parent_name":"EditorLine"},"Structs/EditorLine.html#/s:6Proton10EditorLineV8endsWithySbSSF":{"name":"endsWith(_:)","abstract":"
Determines if the current line ends with given text.","parent_name":"EditorLine"},"Structs/AttachmentContentIdentifier.html#/s:6Proton27AttachmentContentIdentifierV9openingIDSo18NSAttributedStringCvp":{"name":"openingID","abstract":"
Undocumented
","parent_name":"AttachmentContentIdentifier"},"Structs/AttachmentContentIdentifier.html#/s:6Proton27AttachmentContentIdentifierV9closingIDSo18NSAttributedStringCvp":{"name":"closingID","abstract":"Undocumented
","parent_name":"AttachmentContentIdentifier"},"Structs/EditorContent.html#/s:6Proton13EditorContentV4typeAA0bC4TypeOvp":{"name":"type","abstract":"Type of EditorContent
Range within the Editor
for this content
Name for the content within the Editor. All the content (text and attachments) must have","parent_name":"EditorContent"},"Structs/AnyEditorContentDecoding.html#/s:6Proton24AnyEditorContentDecodingVyACyxq_Gqd__c12TypeToDecodeQyd__Rsz0E7ContextQyd__Rs_AA0cdE0Rd__lufc":{"name":"init(_:)","abstract":"
Initializes AnyEditorContentDecoding
","parent_name":"AnyEditorContentDecoding"},"Structs/AnyEditorContentDecoding.html#/s:6Proton24AnyEditorContentDecodingV6decode4mode7maxSize5value7contextSo18NSAttributedStringCAA0cD4ModeO_So6CGSizeVxq_tF":{"name":"decode(mode:maxSize:value:context:)","abstract":"Decodes the given value to NSAttributedString
Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/AnyAttributeDecoding.html#/s:6Proton20AnyAttributeDecodingVyACyxGqd__c12TypeToDecodeQyd__RszAA010AttributesD0Rd__lufc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/AnyAttributeDecoding.html#/s:6Proton20AnyAttributeDecodingV6decodeySDySo21NSAttributedStringKeyaypGxF":{"name":"decode(_:)","abstract":"Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/SquareBulletSequenceGenerator.html#/s:6Proton29SquareBulletSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"SquareBulletSequenceGenerator"},"Structs/SquareBulletSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"SquareBulletSequenceGenerator"},"Structs/DiamondBulletSequenceGenerator.html#/s:6Proton30DiamondBulletSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"DiamondBulletSequenceGenerator"},"Structs/DiamondBulletSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"DiamondBulletSequenceGenerator"},"Structs/NumericSequenceGenerator.html#/s:6Proton24NumericSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"NumericSequenceGenerator"},"Structs/NumericSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"NumericSequenceGenerator"},"Structs/ListParser.html#/s:6Proton10ListParserV5parse4list6indentSo18NSAttributedStringCSayAA0B4ItemVG_14CoreFoundation7CGFloatVtFZ":{"name":"parse(list:indent:)","abstract":"Parses an array of list items into an NSAttributedString
representation. NewLines
are automatically added between each list item in the attributed string representation.
Parses NSAttributedString to list items
","parent_name":"ListParser"},"Structs/ListItem.html#/s:6Proton8ListItemV4textSo18NSAttributedStringCvp":{"name":"text","abstract":"Text of the list item. All attributes are preserved as is.
","parent_name":"ListItem"},"Structs/ListItem.html#/s:6Proton8ListItemV5levelSivp":{"name":"level","abstract":"Level of the list item. This is used with indent to get paragraphStyle
to be applied with appropriate indentation of the list items.
Attribute value of the list item.
","parent_name":"ListItem"},"Structs/ListItem.html#/s:6Proton8ListItemV4text5level14attributeValueACSo18NSAttributedStringC_Siyptcfc":{"name":"init(text:level:attributeValue:)","abstract":"Creates a ListItem
Name of the command. Must be unique across different types of commands.
","parent_name":"CommandName"},"Structs/CommandName.html#/s:6Proton11CommandNameVyACSScfc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"CommandName"},"Structs/CommandName.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"CommandName"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4nameSo19PREditorContentNameCvp":{"name":"name","abstract":"Content name for the image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV5imageSo7UIImageCvp":{"name":"image","abstract":"Image content
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4sizeSo6CGSizeVvp":{"name":"size","abstract":"Size of the image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4typeAA0B4TypeOvp":{"name":"type","abstract":"Denotes if the image is block content or an inline
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4name5image4size4typeACSo19PREditorContentNameC_So7UIImageCSo6CGSizeVAA0B4TypeOtcfc":{"name":"init(name:image:size:type:)","abstract":"Initializes the Block Content image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html":{"name":"AttachmentImage","abstract":"Describes an image for which can be used in an Attachment
Identifies an EditorCommand or a RendererCommand
"},"Structs/ListItem.html":{"name":"ListItem","abstract":"Represents an item in the list. This structure may be used to create NSAttributedString
from items in an array of ListItem
. Alternatively, NSAttributedString
may also be parsed to get an array of ListItem
s.
Provides helper function to convert between NSAttributedString
and [ListItem]
Simple numeric sequence generator.
"},"Structs/DiamondBulletSequenceGenerator.html":{"name":"DiamondBulletSequenceGenerator","abstract":"Simple bullet sequence generator that returns a diamond symbol.
"},"Structs/SquareBulletSequenceGenerator.html":{"name":"SquareBulletSequenceGenerator","abstract":"Simple bullet sequence generator that returns a square symbol.
"},"Structs/AnyAttributeDecoding.html":{"name":"AnyAttributeDecoding","abstract":"A type-erased implementation of AttributesDecoding
A type-erased implementation of EditorContentDecoding
Defines a content type for Editor
. This may be used to serialize the contents of an Editor
via enumerating through the contents of the Editor
.
Describes opening and closing separators for EditorView
‘getFullAttributedText(:)
function.
Representation of a line of text in EditorView
. A line is defined as a single fragment starting from the beginning of"},"Structs/LineFormatting.html":{"name":"LineFormatting","abstract":"
Describes the formatting of a line of text. While general purpose in nature, this is"},"Structs/AnyEditorTextEncoding.html":{"name":"AnyEditorTextEncoding","abstract":"
/// A type-erased implementation of EditorTextEncoding
A type-erased implementation of AttachmentEncoding
.
Undocumented
"},"Structs/GridRowConfiguration.html":{"name":"GridRowConfiguration","abstract":"Undocumented
"},"Structs/GradientColors.html":{"name":"GradientColors","abstract":"Undocumented
"},"Structs/GridConfiguration.html":{"name":"GridConfiguration","abstract":"Undocumented
"},"Structs/GridStyle.html":{"name":"GridStyle","abstract":"Style configuration for the grid
"},"Structs/GridCellStyle.html":{"name":"GridCellStyle","abstract":"Style configuration for the GridCell
Name of the TextProcessor
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP8prioritySivp":{"name":"priority","abstract":"Priority of the TextProcessor. An EditorView
can have multiple TextProcessors
registered. These will be executed in the order of Priority
.
Determines if the text should be changed in the editor.
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP11willProcess07deletedB008insertedB0ySo18NSAttributedStringC_AHtF":{"name":"willProcess(deletedText:insertedText:)","abstract":"Invoked before changes are processed by the editor.
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP7process6editor5range14changeInLengthSbAA10EditorViewC_So8_NSRangeVSitF":{"name":"process(editor:range:changeInLength:)","abstract":"Allows to change attributes and text in the EditorView
as the text is changed.
Allows to change attributes and text in the EditorView
as the text is changed.
Fired when processing has been interrupted by another TextProcessor
running in the same pass. This allows TextProcessor
to revert","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP20selectedRangeChanged6editor03oldE003newE0yAA10EditorViewC_So8_NSRangeVSgALtF":{"name":"selectedRangeChanged(editor:oldRange:newRange:)","abstract":"
Notifies the processor that the selected range has changed in the EditorView due to a reason other than typing text","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP10didProcess6editoryAA10EditorViewC_tF":{"name":"didProcess(editor:)","abstract":"
Invoked after the text has been processed in the Editor
.
Invoked when EditorView
within the cell receives focus
Invoked when EditorView
within the cell loses focus
Invoked when tap event occurs within the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_20didChangeSelectionAt10attributes11contentType2inyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCAA0B4CellCtF":{"name":"gridView(_:didChangeSelectionAt:attributes:contentType:in:)","abstract":"Invoked on selection changes with in the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_15didChangeBounds2inyAA0bC0C_So6CGRectVAA0B4CellCtF":{"name":"gridView(_:didChangeBounds:in:)","abstract":"Invoked on change of bounds of the Editor within the cell
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_14didSelectCellsyAA0bC0C_SayAA0B4CellCGtF":{"name":"gridView(_:didSelectCells:)","abstract":"Invoked when selection of cells is changed.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_16didUnselectCellsyAA0bC0C_SayAA0B4CellCGtF":{"name":"gridView(_:didUnselectCells:)","abstract":"Invoked when selection of cells is changed.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_13didReceiveKey2at2inyAA0bC0C_AA06EditorH0OSo8_NSRangeVAA0B4CellCtF":{"name":"gridView(_:didReceiveKey:at:in:)","abstract":"Invoked when special keys are intercepted in the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_23shouldChangeColumnWidth3forSbAA0bC0C_14CoreFoundation7CGFloatVSitF":{"name":"gridView(_:shouldChangeColumnWidth:for:)","abstract":"Invoked when a column in GridView
is resized.
Undocumented
","parent_name":"GridViewDelegate"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP1TQa":{"name":"T","abstract":"Undocumented
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP12textEncodersSDySo08PREditorC4NameCAA03AnyB12TextEncodingVy1TQzGGvp":{"name":"textEncoders","abstract":"Encoders for text content i.e. NSAttributedString based content
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP18attachmentEncodersSDySo08PREditorC4NameCAA03AnybC18AttachmentEncodingVy1TQzGGvp":{"name":"attachmentEncoders","abstract":"Encoders for attachment types
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP6encodey1TQzSgAA0bC0VF":{"name":"encode(_:)","abstract":"Encodes the given content.
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoding.html#/s:6Proton21EditorContentEncodingP11EncodedTypeQa":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"EditorContentEncoding"},"Protocols/EditorContentEncoding.html#/s:6Proton21EditorContentEncodingP6encodey11EncodedTypeQzSgAA0bC0VF":{"name":"encode(_:)","abstract":"Undocumented
","parent_name":"EditorContentEncoding"},"Protocols/AttachmentEncoding.html#/s:6Proton18AttachmentEncodingP11EncodedTypeQa":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AttachmentEncoding"},"Protocols/AttachmentEncoding.html#/s:6Proton18AttachmentEncodingP6encode4name4view11EncodedTypeQzSo19PREditorContentNameC_So6UIViewCtF":{"name":"encode(name:view:)","abstract":"Encodes given Attachment
content view to given type
Undocumented
","parent_name":"EditorTextEncoding"},"Protocols/EditorTextEncoding.html#/s:6Proton18EditorTextEncodingP6encode4name6string11EncodedTypeQzSo19PREditorContentNameC_So18NSAttributedStringCtF":{"name":"encode(name:string:)","abstract":"Encodes the given attributed string to EncodedType
Identifies a command. This value is used to maintain unique registrations of commands in an Editor. Adding a command with the same name","parent_name":"EditorCommand"},"Protocols/EditorCommand.html#/s:6Proton13EditorCommandP10canExecute2onSbAA0B4ViewC_tF":{"name":"canExecute(on:)","abstract":"
Determines if the current command can be executed on the given EditorView
. When a command is executed using EditorCommandExecutor
, it ensures","parent_name":"EditorCommand"},"Protocols/EditorCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","abstract":"
Execute the command on the given EditorView
. You may use selectedRange
property of EditorView
if the command operates on","parent_name":"EditorCommand"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_12shouldHandle2at7handledyAA0bC0C_AA0B3KeyOSo8_NSRangeVSbztF":{"name":"editor(_:shouldHandle:at:handled:)","abstract":"
Invoked when a special key like enter
, tab
etc. is intercepted in the Editor
Invoked when a special key like enter
, tab
etc. is entered in the Editor
Invoked when editor receives focus.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didLoseFocusFrom:)","abstract":"Invoked when editor loses the focus.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_15didChangeTextAtyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didChangeTextAt:)","abstract":"Invoked when text is changed in editor.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF":{"name":"editor(_:didChangeSelectionAt:attributes:contentType:)","abstract":"Invoked when the selection range changes in the editor as a result of moving the cursor using keys/mouse or taps.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_20didExecuteProcessors2atyAA0bC0C_SayAA14TextProcessing_pGSo8_NSRangeVtF":{"name":"editor(_:didExecuteProcessors:at:)","abstract":"Invoked when text processors are executed in the editor.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_13didChangeSize08previousH0yAA0bC0C_So6CGSizeVAJtF":{"name":"editor(_:didChangeSize:previousSize:)","abstract":"Invoked when the size of EditorView changes.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF":{"name":"editor(_:didTapAtLocation:characterRange:)","abstract":"Invoked when a location within the EditorView
is tapped.
Undocumented
","parent_name":"EditorViewDelegate"},"Protocols/BoundsObserving.html#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","abstract":"Lets the observer know that bounds of current object have changed
","parent_name":"BoundsObserving"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP6editorAA0bD0Cvp":{"name":"editor","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP14attributedTextSo18NSAttributedStringCvp":{"name":"attributedText","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP9maxHeightAA0bF0Ovp":{"name":"maxHeight","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP8delegateAA0bD8Delegate_pSgvp":{"name":"delegate","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP20becomeFirstResponderSbyF":{"name":"becomeFirstResponder()","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewPAAE8setFocusyyF":{"name":"setFocus()","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/AttachmentTypeIdentifying.html#/s:6Proton25AttachmentTypeIdentifyingP4typeAA0bC0Ovp":{"name":"type","abstract":"Undocumented
","parent_name":"AttachmentTypeIdentifying"},"Protocols/EditorContentIdentifying.html#/s:6Proton24EditorContentIdentifyingP4nameSo08PREditorC4NameCvp":{"name":"name","abstract":"Undocumented
","parent_name":"EditorContentIdentifying"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP12TypeToDecodeQa":{"name":"TypeToDecode","abstract":"Undocumented
","parent_name":"EditorContentDecoding"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP0D7ContextQa":{"name":"DecodingContext","abstract":"Undocumented
","parent_name":"EditorContentDecoding"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP6decode4mode7maxSize5value7contextSo18NSAttributedStringCAA0bC4ModeO_So6CGSizeV12TypeToDecodeQz0D7ContextQztF":{"name":"decode(mode:maxSize:value:context:)","abstract":"Decodes the given value to NSAttributedString
Undocumented
","parent_name":"AttributesDecoding"},"Protocols/AttributesDecoding.html#/s:6Proton18AttributesDecodingP4nameSSvp":{"name":"name","abstract":"Undocumented
","parent_name":"AttributesDecoding"},"Protocols/AttributesDecoding.html#/s:6Proton18AttributesDecodingP6decodeySDySo21NSAttributedStringKeyaypG12TypeToDecodeQzF":{"name":"decode(_:)","abstract":"Undocumented
","parent_name":"AttributesDecoding"},"Protocols/SequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","abstract":"Returns a value representing the given index.
","parent_name":"SequenceGenerator"},"Protocols/EditorListFormattingProvider.html#/s:6Proton28EditorListFormattingProviderP08listLineD0AA0gD0Vvp":{"name":"listLineFormatting","abstract":"Line formatting to be used for a list item.
","parent_name":"EditorListFormattingProvider"},"Protocols/EditorListFormattingProvider.html#/s:6Proton28EditorListFormattingProviderP17listLineMarkerFor6editor5index5level13previousLevel14attributeValueAA0cgH0OAA0B4ViewC_S3iypSgtF":{"name":"listLineMarkerFor(editor:index:level:previousLevel:attributeValue:)","abstract":"Returns the marker to be drawn for list item (bullet/number etc.) for given parameters.
","parent_name":"EditorListFormattingProvider"},"Protocols/Focusable.html#/s:6Proton9FocusableP8setFocusyyF":{"name":"setFocus()","abstract":"Undocumented
","parent_name":"Focusable"},"Protocols/AttachmentOffsetProviding.html#/s:6Proton25AttachmentOffsetProvidingP6offset3for2in20proposedLineFragment13glyphPosition14characterIndexSo7CGPointVAA0B0C_So15NSTextContainerCSo6CGRectVAKSitF":{"name":"offset(for:in:proposedLineFragment:glyphPosition:characterIndex:)","abstract":"Undocumented
","parent_name":"AttachmentOffsetProviding"},"Protocols/DynamicBoundsProviding.html#/s:6Proton22DynamicBoundsProvidingP7sizeFor10attachment13containerSize8lineRectSo6CGSizeVAA10AttachmentC_AISo6CGRectVtF":{"name":"sizeFor(attachment:containerSize:lineRect:)","abstract":"Undocumented
","parent_name":"DynamicBoundsProviding"},"Protocols/AsyncTextResolving.html#/s:6Proton18AsyncTextResolvingP4nameSSvp":{"name":"name","abstract":"Name of the Resolver. This name must be applied to the range of text that requires async resolution with attribute key: .asyncTextResolver
Resolves the string to a different representation
","parent_name":"AsyncTextResolving"},"Protocols/AsyncTextResolving.html":{"name":"AsyncTextResolving","abstract":"An object capable of resolving text asynchronously to another representation. New representation may contain change in attributes or the string itself.
"},"Protocols/DynamicBoundsProviding.html":{"name":"DynamicBoundsProviding","abstract":"Describes an object (typically attachment view) that may change size during the layout pass
"},"Protocols/AttachmentOffsetProviding.html":{"name":"AttachmentOffsetProviding","abstract":"Describes an object capable of providing offsets for the Attachment
. The value is used to offset the Attachment
when rendered alongside the text. This may"},"Protocols/Focusable.html":{"name":"Focusable","abstract":"
Describes an object capable of gaining focus.
"},"Protocols/EditorListFormattingProvider.html":{"name":"EditorListFormattingProvider","abstract":"Describes an object capable of providing style and formatting information for rendering lists in EditorView
.
Represents a Sequence generator that can return a value based on given index."},"Protocols/AttributesDecoding.html":{"name":"AttributesDecoding","abstract":"
An object capable of decoding attributes for use in NSAttributedString
An object capable of decoding the given type of content into NSAttributedString
for using in EditorView
or the RendererView
.
Identifies a content type within the Editor
Undocumented
"},"Protocols/EditorContentView.html":{"name":"EditorContentView","abstract":"Describes a view contained in Attachment
that contains a single EditorView
."},"Protocols/BoundsObserving.html":{"name":"BoundsObserving","abstract":"
Describes an object interested in observing the bounds of a view. Attachment
is BoundsObserving
and reacts to"},"Protocols/EditorViewDelegate.html":{"name":"EditorViewDelegate","abstract":"
Describes an object interested in listening to events raised from EditorView
"},"Protocols/EditorCommand.html":{"name":"EditorCommand","abstract":"Describes a command that can be executed on EditorView
. A command may be invoked directly on the editor
by providing an instance."},"Protocols/EditorTextEncoding.html":{"name":"EditorTextEncoding","abstract":"
Describes an encoder for a content type in Editor. This can be used in conjunction with AnyEditorTextEncoding
"},"Protocols/AttachmentEncoding.html":{"name":"AttachmentEncoding","abstract":"
Describes an object capable of encoding contents of at Attachment
An object capable of encoding EditorContent
to given type.
A generic encoder for encoding EditorContent
. You may create encoders for individual types of contents in the Editor
, and"},"Protocols/GridViewDelegate.html":{"name":"GridViewDelegate","abstract":"
An object capable of handing GridView
events
An object capable of intercepting and modifying the text and attributes in an EditorView
when registered with the EditorView
.
Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE4highSivpZ":{"name":"high","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE6mediumSivpZ":{"name":"medium","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE3lowSivpZ":{"name":"low","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/UITextRange.html#/s:So11UITextRangeC6ProtonE9toNSRange2inSo01_E0VSgSo0A5Input_p_tF":{"name":"toNSRange(in:)","abstract":"Converts this range to NSRange
. Returns nil if range cannot be converted.
Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE6isBoldSbvp":{"name":"isBold","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE9isItalicsSbvp":{"name":"isItalics","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE12isMonoSpacedSbvp":{"name":"isMonoSpaced","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE12isAppleEmojiSbvp":{"name":"isAppleEmoji","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE9textStyleSo0a4TextD0avp":{"name":"textStyle","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE21isNonDynamicTextStyleSbvp":{"name":"isNonDynamicTextStyle","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE8contains5traitSbSo0A24DescriptorSymbolicTraitsV_tF":{"name":"contains(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE7toggled5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"toggled(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE6adding5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"adding(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE8removing5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"removing(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/String.html#/s:SS6ProtonE11makeNSRange4fromSo01_C0VSnySS5IndexVG_tF":{"name":"makeNSRange(from:)","abstract":"Converts given Range to NSRange in this string.
","parent_name":"String"},"Extensions/String.html#/s:SS6ProtonE16rangeFromNSRange0B0SnySS5IndexVGSgSo01_D0V_tF":{"name":"rangeFromNSRange(range:)","abstract":"Created String Range from given NSRange. Returns nil if range cannot be converted.
","parent_name":"String"},"Extensions/String.html#/s:SS6ProtonE8rangesOf12characterSetSaySnySS5IndexVGG10Foundation09CharacterE0V_tF":{"name":"rangesOf(characterSet:)","abstract":"Returns ranges of given CharacterSet in this string.
","parent_name":"String"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE4zeroABvpZ":{"name":"zero","abstract":"Range with 0 location and length
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE19firstCharacterRangeABvp":{"name":"firstCharacterRange","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE18lastCharacterRangeABvp":{"name":"lastCharacterRange","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE12nextPositionABvp":{"name":"nextPosition","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE11endLocationSivp":{"name":"endLocation","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE11toTextRange9textInputSo06UITextE0CSgSo0hG0_p_tF":{"name":"toTextRange(textInput:)","abstract":"Converts the range to UITextRange
in given UITextInput
. Returns nil if the range is invalid in the UITextInput
.
Checks if the range is valid in given UITextInput
Shifts the range with given shift value
","parent_name":"NSRange"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonEyABSScfc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE9paragraphABvpZ":{"name":"paragraph","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE8viewOnlyABvpZ":{"name":"viewOnly","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE7newlineABvpZ":{"name":"newline","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE4textABvpZ":{"name":"text","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE7unknownABvpZ":{"name":"unknown","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/NSParagraphStyle.html#/s:So16NSParagraphStyleC6ProtonE016mutableParagraphB0So09NSMutableeB0Cvp":{"name":"mutableParagraphStyle","abstract":"Creates a mutable copy of current style
","parent_name":"NSParagraphStyle"},"Extensions/NSParagraphStyle.html#/s:So16NSParagraphStyleC6ProtonE14lineFormattingAC04LineE0Vvp":{"name":"lineFormatting","abstract":"Returns LineFormatting
based on current style
Applying this attribute makes the range of text act as a single block/unit.","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE16blockContentTypeABvpZ":{"name":"blockContentType","abstract":"
Identifies block based attributes. A block acts as a container for other content types. For e.g. a Paragraph is a block content","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE17inlineContentTypeABvpZ":{"name":"inlineContentType","abstract":"
Identifies inline content attributes. An inline acts as a content in another content types. For e.g. an emoji is an inline content","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE15backgroundStyleABvpZ":{"name":"backgroundStyle","abstract":"
Additional style attribute for background color. Using this attribute in addition to backgroundColor
attribute allows applying","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE8listItemABvpZ":{"name":"listItem","abstract":"
Attribute denoting the range as a list item. This attribute enables use of ListTextProcessor
to indent/outdent list","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE18skipNextListMarkerABvpZ":{"name":"skipNextListMarker","abstract":"
When applied to a new line char alongside listItem
attribute, skips the rendering of list marker on subsequent line.
Array of NSAttributedString.Key
that must be locked in the applied range.
Undocumented
","parent_name":"Key"},"Extensions/NSAttributedString/Key.html":{"name":"Key","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9asMutableSo019NSMutableAttributedB0Cvp":{"name":"asMutable","abstract":"Creates a mutable copy
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16addingAttributes_2toABSDySo0aB3KeyaypG_So8_NSRangeVSgtF":{"name":"addingAttributes(_:to:)","abstract":"Undocumented
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE17enumerateContents2ins11AnySequenceVyAC13EditorContentVGSo8_NSRangeVSg_tF":{"name":"enumerateContents(in:)","abstract":"Enumerates block contents in given range.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE23enumerateInlineContents2ins11AnySequenceVyAC13EditorContentVGSo8_NSRangeVSg_tF":{"name":"enumerateInlineContents(in:)","abstract":"Enumerates only inline content in given range.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16rangeOfCharacter4fromSo8_NSRangeVSg10Foundation0F3SetV_tF":{"name":"rangeOfCharacter(from:)","abstract":"Returns in range of CharacterSet from this string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9fullRangeSo8_NSRangeVvp":{"name":"fullRange","abstract":"Full range of this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16attachmentRangesSayAC10AttachmentC0D0_So8_NSRangeV5rangetGvp":{"name":"attachmentRanges","abstract":"Collection of all the attachments with containing ranges in this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE8rangeFor10attachmentSo8_NSRangeVSgAC10AttachmentC_tF":{"name":"rangeFor(attachment:)","abstract":"Range of given attachment in this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE8rangesOf12characterSetSaySo8_NSRangeVG10Foundation09CharacterG0V_tF":{"name":"rangesOf(characterSet:)","abstract":"Ranges of CharacterSet
in this attributed string.
Attributed substring in reverse direction.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE7rangeOf9attribute16startingLocation13reverseLookupSo8_NSRangeVSgSo0aB3Keya_SiSbtF":{"name":"rangeOf(attribute:startingLocation:reverseLookup:)","abstract":"Gets the next range of attribute starting at the given location in direction based on reverse lookup flag
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE7rangeOf9attribute2atSo8_NSRangeVSgSo0aB3Keya_SitF":{"name":"rangeOf(attribute:at:)","abstract":"Gets the complete range of attribute at the given location. The attribute is looked up in both forward and","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE14attributeValue3for2atxSgSo0aB3Keya_SitlF":{"name":"attributeValue(for:at:)","abstract":"
Gets the value of attribute at the given location, if present.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9substring4fromSSSo8_NSRangeV_tF":{"name":"substring(from:)","abstract":"Alternative to attributedSubstring(from:_).string
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html":{"name":"NSAttributedString"},"Extensions/NSParagraphStyle.html":{"name":"NSParagraphStyle"},"Extensions/EditorContentName.html":{"name":"EditorContentName"},"Extensions/NSRange.html":{"name":"NSRange"},"Extensions/String.html":{"name":"String"},"Extensions/UIFont.html":{"name":"UIFont"},"Extensions/UITextRange.html":{"name":"UITextRange"},"Extensions/TextProcessingPriority.html":{"name":"TextProcessingPriority","abstract":"
Undocumented
"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO5fixedyAC14CoreFoundation7CGFloatVcACmF":{"name":"fixed(_:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO10fractionalyAC14CoreFoundation7CGFloatVcACmF":{"name":"fractional(_:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO5value7basedOn14CoreFoundation7CGFloatVAH_tF":{"name":"value(basedOn:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridViewError.html#/s:6Proton13GridViewErrorO26failedToInsertInFrozenRowsyA2CmF":{"name":"failedToInsertInFrozenRows","abstract":"Undocumented
","parent_name":"GridViewError"},"Enums/GridViewError.html#/s:6Proton13GridViewErrorO29failedToInsertInFrozenColumnsyA2CmF":{"name":"failedToInsertInFrozenColumns","abstract":"Undocumented
","parent_name":"GridViewError"},"Enums/Indentation.html#/s:6Proton11IndentationO6indentyA2CmF":{"name":"indent","abstract":"Undocumented
","parent_name":"Indentation"},"Enums/Indentation.html#/s:6Proton11IndentationO7outdentyA2CmF":{"name":"outdent","abstract":"Undocumented
","parent_name":"Indentation"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO7defaultyA2CmF":{"name":"default","abstract":"Default controlled via autolayout.
","parent_name":"EditorHeight"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO3maxyAC14CoreFoundation7CGFloatVcACmF":{"name":"max(_:)","abstract":"Maximum height editor is allowed to grow to before it starts scrolling
","parent_name":"EditorHeight"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO8infiniteyA2CmF":{"name":"infinite","abstract":"Boundless height.
","parent_name":"EditorHeight"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO4textyACSo08PREditorC4NameC_So18NSAttributedStringCtcACmF":{"name":"text(name:attributedString:)","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO10attachmentyACSo08PREditorC4NameC_AA10AttachmentCSo6UIViewCAA0hD0OtcACmF":{"name":"attachment(name:attachment:contentView:type:)","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO8viewOnlyyA2CmF":{"name":"viewOnly","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/AttachmentType.html#/s:6Proton14AttachmentTypeO5blockyA2CmF":{"name":"block","abstract":"Undocumented
","parent_name":"AttachmentType"},"Enums/AttachmentType.html#/s:6Proton14AttachmentTypeO6inlineyA2CmF":{"name":"inline","abstract":"Undocumented
","parent_name":"AttachmentType"},"Enums/EditorContentMode.html#/s:6Proton17EditorContentModeO6editoryA2CmF":{"name":"editor","abstract":"Undocumented
","parent_name":"EditorContentMode"},"Enums/EditorContentMode.html#/s:6Proton17EditorContentModeO8rendereryA2CmF":{"name":"renderer","abstract":"Undocumented
","parent_name":"EditorContentMode"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO5enteryA2CmF":{"name":"enter","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO9backspaceyA2CmF":{"name":"backspace","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO3tabyA2CmF":{"name":"tab","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/ListLineMarker.html#/s:6Proton14ListLineMarkerO6stringyACSo18NSAttributedStringCcACmF":{"name":"string(_:)","abstract":"Undocumented
","parent_name":"ListLineMarker"},"Enums/ListLineMarker.html#/s:6Proton14ListLineMarkerO5imageyACSo7UIImageC_So6CGSizeVtcACmF":{"name":"image(_:size:)","abstract":"Undocumented
","parent_name":"ListLineMarker"},"Enums/BackgroundMode.html#/s:6Proton14BackgroundModeO9matchTextyA2CmF":{"name":"matchText","abstract":"Background matches the height/width of text
","parent_name":"BackgroundMode"},"Enums/BackgroundMode.html#/s:6Proton14BackgroundModeO9matchLineyA2CmF":{"name":"matchLine","abstract":"Background matches entire line irrespective of font height/used character width in the given line
","parent_name":"BackgroundMode"},"Enums/RoundedCornerStyle.html#/s:6Proton18RoundedCornerStyleO8absoluteyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"absolute(value:)","abstract":"Rounding based on an absolute value for corner radii
","parent_name":"RoundedCornerStyle"},"Enums/RoundedCornerStyle.html#/s:6Proton18RoundedCornerStyleO8relativeyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"relative(percent:)","abstract":"Rounding based on relative percent value of the content height. For e.g. 50% would provide a capsule appearance","parent_name":"RoundedCornerStyle"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO12matchContentyA2CmF":{"name":"matchContent","abstract":"
Matches the size of the content view of attachment. Content view must provide size to Attachment
using didChangeBounds(:)
.
Takes up full width of the containing EditorView
. Resizes automatically when size of the container changes for e.g. when device is rotated. Height is dynamic based on content.
Fixed width attachment irrespective of content size of the contained view. Height is dynamic based on content.
","parent_name":"AttachmentSize"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO5rangeyAC14CoreFoundation7CGFloatV_AGtcACmF":{"name":"range(minWidth:maxWidth:)","abstract":"Width of attachment is locked between the min and max. Height is dynamic based on content.
","parent_name":"AttachmentSize"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO7percentyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"percent(width:)","abstract":"Width in percent based on the size of containing EditorView
. Absolute value of width changes if the size of the container changes for e.g. when device is rotated. Height is dynamic based on content.
Undocumented
","parent_name":"AsyncTextResolvingResult"},"Enums/AsyncTextResolvingResult.html#/s:6Proton24AsyncTextResolvingResultO7discardyA2CmF":{"name":"discard","abstract":"Undocumented
","parent_name":"AsyncTextResolvingResult"},"Enums/AsyncTextResolvingResult.html":{"name":"AsyncTextResolvingResult","abstract":"Result type for async text resolution
"},"Enums/AttachmentSize.html":{"name":"AttachmentSize","abstract":"Rendering size of the Attachment
Rounding style for backgroundStyle
attribute
Defines the mode for height/width used for the background for the text
"},"Enums/ListLineMarker.html":{"name":"ListLineMarker","abstract":"Marker for the list item
"},"Enums/EditorKey.html":{"name":"EditorKey","abstract":"Undocumented
"},"Enums/EditorContentMode.html":{"name":"EditorContentMode","abstract":"Content mode for Editor
. This may be used while decoding the content for the Editor/Renderer to let the Decoder know"},"Enums/AttachmentType.html":{"name":"AttachmentType","abstract":"
Type of attachment
"},"Enums/EditorContentType.html":{"name":"EditorContentType","abstract":"Type of EditorContent
Defines the height for the Editor
"},"Enums/Indentation.html":{"name":"Indentation","abstract":"Undocumented
"},"Enums/GridViewError.html":{"name":"GridViewError","abstract":"Undocumented
"},"Enums/GridColumnWidth.html":{"name":"GridColumnWidth","abstract":"Undocumented
"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP4nameSSvp":{"name":"name","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton17ListTextProcessorCACycfc":{"name":"init()","abstract":"Initializes text processor.
","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton17ListTextProcessorC8prioritySivp":{"name":"priority","abstract":"Priority of the text processor.
","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP13shouldProcess_0deB2In011replacementB0SbAA10EditorViewC_So8_NSRangeVSStF":{"name":"shouldProcess(_:shouldProcessTextIn:replacementText:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP18processInterrupted6editor2atyAA10EditorViewC_So8_NSRangeVtF":{"name":"processInterrupted(editor:at:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP7process6editor5range14changeInLengthSbAA10EditorViewC_So8_NSRangeVSitF":{"name":"process(editor:range:changeInLength:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP22handleKeyWithModifiers6editor3key13modifierFlags5rangeyAA10EditorViewC_AA0mE0OSo013UIKeyModifierK0VSo8_NSRangeVtF":{"name":"handleKeyWithModifiers(editor:key:modifierFlags:range:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP10didProcess6editoryAA10EditorViewC_tF":{"name":"didProcess(editor:)","parent_name":"ListTextProcessor"},"Classes/GridView.html#/s:6Proton8GridViewC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"Delegate for GridView
which can be used to handle cell specific EditorView
events
Determines if column resizing handles are visible or not.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"Bounds observer for the GridView
. Typically, this will be the Attachment
that hosts the GridView
.
Selection color for the GridView
. Defaults to tintColor
Determines if GridView
is selected or not.
Allows scrolling grid in any direction. Defaults to false
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC20frozenColumnMaxIndexSiSgvp":{"name":"frozenColumnMaxIndex","abstract":"
Maximum index up till which columns are frozen. Columns are frozen from 0 to this index value.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC17frozenRowMaxIndexSiSgvp":{"name":"frozenRowMaxIndex","abstract":"Maximum index up till which rows are frozen. Rows are frozen from 0 to this index value.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC21containsFrozenColumnsSbvp":{"name":"containsFrozenColumns","abstract":"Determines if there are any frozen columns in the GridView
Determines if there are any frozen rows in the GridView
Collection of cells contained in the GridView
Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC15numberOfColumnsSivp":{"name":"numberOfColumns","abstract":"Number of columns in the GridView
.
Number of rows in the GridView
Initializes GridView
using the provided configuration.
Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC17setColumnResizingyySbF":{"name":"setColumnResizing(_:)","abstract":"Enables or disables column resizing
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC24isCellSelectionMergeableySbSayAA0bE0CGF":{"name":"isCellSelectionMergeable(_:)","abstract":"Determines if the collection of cells can be merged. For cells to be mergable, they need to","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC5merge5cellsySayAA0B4CellCG_tF":{"name":"merge(cells:)","abstract":"
Merges the cells if the collection is mergeable.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC5split4cellyAA0B4CellC_tF":{"name":"split(cell:)","abstract":"Splits the cell into original constituent cells from earlier Merge operation.","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC9insertRow2at13configurations6ResultOySayAA0B4CellCGAA0bC5ErrorOGSi_AA0bE13ConfigurationVtF":{"name":"insertRow(at:configuration:)","abstract":"
Inserts a new row at given index.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12insertColumn2at13configurations6ResultOySayAA0B4CellCGAA0bC5ErrorOGSi_AA0bE13ConfigurationVtF":{"name":"insertColumn(at:configuration:)","abstract":"Inserts a new column at given index.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC9deleteRow2atySi_tF":{"name":"deleteRow(at:)","abstract":"Deletes the row at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12deleteColumn2atySi_tF":{"name":"deleteColumn(at:)","abstract":"Deletes the column at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC13freezeColumns4upToySi_tF":{"name":"freezeColumns(upTo:)","abstract":"Freezes all the columns from 0 to the index provided
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10freezeRows4upToySi_tF":{"name":"freezeRows(upTo:)","abstract":"Freezes all the rows from 0 to the index provided
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC15unfreezeColumnsyyF":{"name":"unfreezeColumns()","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12unfreezeRowsyyF":{"name":"unfreezeRows()","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC11collapseRow2atySi_tF":{"name":"collapseRow(at:)","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC6cellAt8rowIndex06columnG0AA0B4CellCSgSi_SitF":{"name":"cellAt(rowIndex:columnIndex:)","abstract":"Gets the cell at given row and column index. Indexes may be contained in a merged cell.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC14scrollToCellAt8rowIndex06columnI08animatedySi_SiSbtF":{"name":"scrollToCellAt(rowIndex:columnIndex:animated:)","abstract":"Scrolls the cell at given index into viewable area. Indexes may be contained in a merged cell.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10applyStyle_5toRowyAA0b4CellE0V_SitF":{"name":"applyStyle(_:toRow:)","abstract":"Applies style to row at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10applyStyle_8toColumnyAA0b4CellE0V_SitF":{"name":"applyStyle(_:toColumn:)","abstract":"Applies style to column at given index
","parent_name":"GridView"},"Classes/GridView.html#/c:@CM@Proton@objc(cs)GridView(im)scrollViewDidScroll:":{"name":"scrollViewDidScroll(_:)","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridCell.html#/s:6Proton8GridCellC7rowSpanSaySiGvp":{"name":"rowSpan","abstract":"Row indexes spanned by the cell. In case of a merged cell, this will contain all the rows= indexes which are merged.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC10columnSpanSaySiGvp":{"name":"columnSpan","abstract":"Column indexes spanned by the cell. In case of a merged cell, this will contain all the column indexes which are merged.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC5frameSo6CGRectVvp":{"name":"frame","abstract":"Frame of the cell within GridView
Sets the cell selected
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC6editorAA10EditorViewCvp":{"name":"editor","abstract":"Editor within the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC12isSplittableSbvp":{"name":"isSplittable","abstract":"Denotes if the cell can be split i.e. is a merged cell.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC11contentSizeSo6CGSizeVvp":{"name":"contentSize","abstract":"Content size of the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC11contentViewSo6UIViewCvp":{"name":"contentView","abstract":"Content view for the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC9gridStyleAA0bE0Vvp":{"name":"gridStyle","abstract":"Undocumented
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC7rowSpan06columnE013initialHeight5style9gridStyleACSaySiG_AI14CoreFoundation7CGFloatVAA0bcK0VAA0bK0Vtcfc":{"name":"init(rowSpan:columnSpan:initialHeight:style:gridStyle:)","abstract":"Undocumented
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC8setFocusyyF":{"name":"setFocus()","abstract":"Sets the focus in the Editor
within the cell.
Removes the focus from the Editor
within the cell.
Applies the given style to the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_17didReceiveFocusAtyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didReceiveFocusAt:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didLoseFocusFrom:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF":{"name":"editor(_:didTapAtLocation:characterRange:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF":{"name":"editor(_:didChangeSelectionAt:attributes:contentType:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_13didReceiveKey2atyAA0bC0C_AA0bH0OSo8_NSRangeVtF":{"name":"editor(_:didReceiveKey:at:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"GridCell"},"Classes/EditorCommandExecutor.html#/s:6Proton21EditorCommandExecutorC7contextAcA0B11ViewContextC_tcfc":{"name":"init(context:)","abstract":"Initializes the EditorCommandExecutor
Executes the given command on the active EditorView
having the same Context
as the Command Executor. EditorCommand
will be executed only","parent_name":"EditorCommandExecutor"},"Classes/UnderlineCommand.html#/s:6Proton16UnderlineCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"UnderlineCommand"},"Classes/StrikethroughCommand.html#/s:6Proton20StrikethroughCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"StrikethroughCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"ListOutdentCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandC4nameAA0D4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListOutdentCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"Outdents a list item if it supports reversing indentation. When applied on an item at first level, it will remove item from the list.","parent_name":"ListOutdentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"ListIndentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandC4nameAA0D4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListIndentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"Indents a list item if it supports indentation (e.g. unsupported item may mean item at first level)","parent_name":"ListIndentCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC4nameAA0C4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC14attributeValueypSgvp":{"name":"attributeValue","abstract":"Value to be set for attribute .listItem
when applying to a range of text.","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"
Executes the command with value of attributeValue
for .listItem
attribute. If the attributeValue
is nil, executing","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC7execute2on14attributeValueyAA10EditorViewC_ypSgtF":{"name":"execute(on:attributeValue:)","abstract":"
Executes the command with value of attributeValue
for .listItem
attribute.
Undocumented
","parent_name":"ItalicsCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton22FontTraitToggleCommandC5traitSo30UIFontDescriptorSymbolicTraitsVvp":{"name":"trait","abstract":"Undocumented
","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton13EditorCommandP4nameAA0C4NameVvp":{"name":"name","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton22FontTraitToggleCommandC4name5traitAcA0E4NameV_So30UIFontDescriptorSymbolicTraitsVtcfc":{"name":"init(name:trait:)","abstract":"Undocumented
","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","parent_name":"FontTraitToggleCommand"},"Classes/BoldCommand.html#/s:6Proton11BoldCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"BoldCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton23AttributesToggleCommandC10attributesSDySo21NSAttributedStringKeyaypGvp":{"name":"attributes","abstract":"Undocumented
","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton13EditorCommandP4nameAA0C4NameVvp":{"name":"name","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton23AttributesToggleCommandC4name10attributesAcA0D4NameV_SDySo21NSAttributedStringKeyaypGtcfc":{"name":"init(name:attributes:)","abstract":"Undocumented
","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","parent_name":"AttributesToggleCommand"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC2idSSvp":{"name":"id","abstract":"Identifies the EditorViewContext
uniquely.
Friendly name for the context. It is possible to create multiple EditorViewContext
using the same name.","parent_name":"EditorViewContext"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"
EditorView delegate at context level. This delegate will be notified about events in all the Editors that share this particular context.","parent_name":"EditorViewContext"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC6sharedACvpZ":{"name":"shared","abstract":"
Default shared context. Use this in case there is only a single EditorView
on the screen at the root level.
EditorView
for this context that is currently active.
Initializes a new context
","parent_name":"EditorViewContext"},"Classes/EditorView.html#/s:6Proton10EditorViewC06editorC7ContextAA0bcE0Cvp":{"name":"editorViewContext","abstract":"Context for the current Editor
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textInteractionsSaySo17UITextInteractionCGvp":{"name":"textInteractions","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC04textC8GesturesSaySo19UIGestureRecognizerCGvp":{"name":"textViewGestures","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC26textDragInteractionEnabledSbvp":{"name":"textDragInteractionEnabled","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)bounds":{"name":"bounds","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"An object interested in responding to editing and focus related events in the EditorView
.
List formatting provider to be used for rendering lists in the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18registeredCommandsSayAA0B7Command_pGSgvp":{"name":"registeredCommands","abstract":"List of commands supported by the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18asyncTextResolversSayAA05AsyncE9Resolving_pGvp":{"name":"asyncTextResolvers","abstract":"Async Text Resolvers supported by the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5frame7context16allowAutogrowingACSo6CGRectV_AA0bC7ContextCSbtcfc":{"name":"init(frame:context:allowAutogrowing:)","abstract":"Initializes the EditorView
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC020editorInputAccessoryC0So6UIViewCSgvp":{"name":"editorInputAccessoryView","abstract":"Input accessory view to be used
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC011editorInputC0So6UIViewCSgvp":{"name":"editorInputView","abstract":"Input view to be used
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)initWithCoder:":{"name":"init(coder:)","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20registeredProcessorsSayAA14TextProcessing_pGvp":{"name":"registeredProcessors","abstract":"List of all the registered TextProcessors
in the EditorView
. This may be used by nested EditorView
to inherit all the","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17selectedTextRangeSo06UITextF0CSgvp":{"name":"selectedTextRange","abstract":"
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15placeholderTextSo18NSAttributedStringCSgvp":{"name":"placeholderText","abstract":"Placeholder text for the EditorView
. The value can contain any attributes which is natively","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12contentInsetSo12UIEdgeInsetsVvp":{"name":"contentInset","abstract":"
Gets or sets insets for additional scroll area around the content. Default value is UIEdgeInsetsZero.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC29verticalScrollIndicatorInsetsSo06UIEdgeG0Vvp":{"name":"verticalScrollIndicatorInsets","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19keyboardDismissModeSo08UIScrollc8KeyboardeF0Vvp":{"name":"keyboardDismissMode","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15isScrollEnabledSbvp":{"name":"isScrollEnabled","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18textContainerInsetSo12UIEdgeInsetsVvp":{"name":"textContainerInset","abstract":"Gets or sets the insets for the text container’s layout area within the editor’s content area
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17dataDetectorTypesSo06UIDataeF0Vvp":{"name":"dataDetectorTypes","abstract":"The types of data converted to tappable URLs in the editor view.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13contentLengthSivp":{"name":"contentLength","abstract":"Length of content within the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC10isEditableSbvp":{"name":"isEditable","abstract":"Determines if the EditorView
is editable or not.
Determines if the editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17currentLayoutLineAA0bF0VSgvp":{"name":"currentLayoutLine","abstract":"Current line information based the caret position or selected range. If the selected range spans across multiple","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15firstLayoutLineAA0bF0VSgvp":{"name":"firstLayoutLine","abstract":"
First line of content based on layout in the Editor. Nil if editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14lastLayoutLineAA0bF0VSgvp":{"name":"lastLayoutLine","abstract":"Last line of content based on layout in the Editor. Nil if editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12selectedTextSo18NSAttributedStringCvp":{"name":"selectedText","abstract":"Selected text in the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)backgroundColor":{"name":"backgroundColor","abstract":"Background color for the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)font":{"name":"font","abstract":"Default font to be used by the Editor. A font may be overridden on whole or part of content in EditorView
by an EditorCommand
or","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle":{"name":"paragraphStyle","abstract":"
Default paragraph style to be used by the Editor. The style may be overridden on whole or part of content in","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)textColor":{"name":"textColor","abstract":"
Default text color to be used by the Editor. The color may be overridden on whole or part of content in","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC9maxHeightAA0bE0Ovp":{"name":"maxHeight","abstract":"
Maximum height that the EditorView
can expand to. After reaching the maximum specified height, the editor becomes scrollable.
Text to be set in the EditorView
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16typingAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"typingAttributes","abstract":"Typing attributes to be used. Automatically resets when the selection changes.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"
An object interested in observing the changes in bounds of the Editor
, typically an Attachment
.
Gets and sets the content offset.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18linkTextAttributesSDySo21NSAttributedStringKeyaypGSgvp":{"name":"linkTextAttributes","abstract":"The attributes to apply to links.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12textEndRangeSo8_NSRangeVvp":{"name":"textEndRange","abstract":"Range of end of text in the EditorView
. The range has always has length of 0.
Determines if the current Editor is contained in an attachment
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC11contentNameSo015PREditorContentE0CSgvp":{"name":"contentName","abstract":"Name of the content if the Editor is contained within an Attachment
.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12visibleRangeSo8_NSRangeVvp":{"name":"visibleRange","abstract":"
Returns the visible text range.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19containerAttachmentAA0E0CSgvp":{"name":"containerAttachment","abstract":"Attachment containing the current Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12nestingLevelSivp":{"name":"nestingLevel","abstract":"Nesting level of current Editor within other attachments containing Editors.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC04rootB0ACvp":{"name":"rootEditor","abstract":"
Returns the root editor of the current Editor. Returns self
where the current editor is not contained within an Attachment
.
EditorView
containing the current EditorView
in an Attachment
Clears the contents in the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC22autocapitalizationTypeSo024UITextAutocapitalizationE0Vvp":{"name":"autocapitalizationType","abstract":"The auto-capitalization style for the text object.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18autocorrectionTypeSo020UITextAutocorrectionE0Vvp":{"name":"autocorrectionType","abstract":"
The autocorrection style for the text object.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17spellCheckingTypeSo011UITextSpelleF0Vvp":{"name":"spellCheckingType","abstract":"
The spell-checking style for the text object.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15smartQuotesTypeSo011UITextSmarteF0Vvp":{"name":"smartQuotesType","abstract":"The configuration state for smart quotes.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15smartDashesTypeSo011UITextSmarteF0Vvp":{"name":"smartDashesType","abstract":"The configuration state for smart dashes.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC21smartInsertDeleteTypeSo011UITextSmartefG0Vvp":{"name":"smartInsertDeleteType","abstract":"The configuration state for the smart insertion and deletion of space characters.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12keyboardTypeSo010UIKeyboardE0Vvp":{"name":"keyboardType","abstract":"The keyboard style associated with the text object.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18keyboardAppearanceSo010UIKeyboardE0Vvp":{"name":"keyboardAppearance","abstract":"The appearance style of the keyboard that is associated with the text object
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13returnKeyTypeSo08UIReturneF0Vvp":{"name":"returnKeyType","abstract":"The visible title of the Return key.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC29enablesReturnKeyAutomaticallySbvp":{"name":"enablesReturnKeyAutomatically","abstract":"A Boolean value indicating whether the Return key is automatically enabled when the user is entering text.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17isSecureTextEntrySbvp":{"name":"isSecureTextEntry","abstract":"
Identifies whether the text object should disable text copying and in some cases hide the text being entered.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15textContentTypeSo06UITexteF0aSgvp":{"name":"textContentType","abstract":"
The semantic meaning expected by a text input area.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC27allowsEditingTextAttributesSbvp":{"name":"allowsEditingTextAttributes","abstract":"
A Boolean value indicating whether the text view allows the user to edit style information.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12isSelectableSbvp":{"name":"isSelectable","abstract":"A Boolean value indicating whether the receiver is selectable.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textDragDelegateSo06UITexteF0_pSgvp":{"name":"textDragDelegate","abstract":"
A text drag delegate object for customizing the drag source behavior of a text view.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textDropDelegateSo06UITexteF0_pSgvp":{"name":"textDropDelegate","abstract":"The text drop delegate for interacting with a drop activity in the text view.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)sizeThatFits:":{"name":"sizeThatFits(_:)","abstract":"Asks the view to calculate and return the size that best fits the specified size.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)becomeFirstResponder":{"name":"becomeFirstResponder()","abstract":"Asks UIKit to make this object the first responder in its window.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC11markedRangeSo8_NSRangeVSgvp":{"name":"markedRange","abstract":"The range of currently marked text in a document.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13setAttributes_2atySDySo21NSAttributedStringKeyaypG_So8_NSRangeVtF":{"name":"setAttributes(_:at:)","abstract":"
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC21getFullAttributedText5usingSo18NSAttributedStringCAA27AttachmentContentIdentifierV_tF":{"name":"getFullAttributedText(using:)","abstract":"Returns the full attributed text contained in the EditorView
along with the ones in editors nested in contained Attachments.
Sets async text resolution to resolve on next text layout pass.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC24resolveAsyncTextIfNeededyyF":{"name":"resolveAsyncTextIfNeeded()","abstract":"Invokes async text resolution to resolve on demand.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16rangeOfCharacter2atSo8_NSRangeVSgSo7CGPointV_tF":{"name":"rangeOfCharacter(at:)","abstract":"Returns the range of character at the given point
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19contentLinesInRangeySayAA0B4LineVGSo8_NSRangeVF":{"name":"contentLinesInRange(_:)","abstract":"Gets the lines separated by newline characters from the given range.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19previousContentLine4fromAA0bF0VSgSi_tF":{"name":"previousContentLine(from:)","abstract":"Gets the previous line of content from the given location. A content line is defined by the presence of a","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15nextContentLine4fromAA0bF0VSgSi_tF":{"name":"nextContentLine(from:)","abstract":"
Gets the next line of content from the given location. A content line is defined by the presence of a","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15layoutLineAfteryAA0bE0VSgAFF":{"name":"layoutLineAfter(_:)","abstract":"
Gets the line preceding the given line. Nil if the given line is invalid or is first line
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16layoutLineBeforeyAA0bE0VSgAFF":{"name":"layoutLineBefore(_:)","abstract":"Gets the line before the given line. Nil if the given line is invalid or is first line
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5rects3forSaySo6CGRectVGSo8_NSRangeV_tF":{"name":"rects(for:)","abstract":"Returns the rectangles for line fragments spanned by the range. Based on the span of the range,","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC9caretRect3forSo6CGRectVSi_tF":{"name":"caretRect(for:)","abstract":"
Returns the caret rectangle for given position in the editor content.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC4word2atSo18NSAttributedStringCSgSi_tF":{"name":"word(at:)","abstract":"Gets the word from text at given location in editor content
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17attributeRangeFor_2atSo8_NSRangeVSgSo21NSAttributedStringKeya_SitF":{"name":"attributeRangeFor(_:at:)","abstract":"Gets the full range of attribute at given location.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14deleteBackwardyyF":{"name":"deleteBackward()","abstract":"Deletes text backwards
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16insertAttachment2in10attachmentySo8_NSRangeV_AA0E0CtF":{"name":"insertAttachment(in:attachment:)","abstract":"Inserts an Attachment
in the EditorView
.
Sets the focus in the EditorView
Makes the EditorView
lose focus.
Makes the EditorView
scroll to given range such that it is visible. No-op if the range is already visible.
Makes the EditorView
scroll to given range such that it is visible. No-op if the range is already visible.
Gets the contents within the Editor
.
Transforms EditorContent
into given type. This function can also be used to encode content into a different type for e.g. encoding the contents to JSON. Encoding","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_So18NSAttributedStringCtF":{"name":"replaceCharacters(in:with:)","abstract":"
Replaces the given range of content with the attributedString provided.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_SStF":{"name":"replaceCharacters(in:with:)","abstract":"Replaces the characters in the given range with the string provided.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16appendCharactersyySo18NSAttributedStringCF":{"name":"appendCharacters(_:)","abstract":"Appends the given attributed text to the end of content in EditorView
.
Appends the given attributed text to the end of content in EditorView
.
Registers the given text processor with the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19unregisterProcessoryyAA14TextProcessing_pF":{"name":"unregisterProcessor(_:)","abstract":"Unregisters the given text processor from the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18registerProcessorsyySayAA14TextProcessing_pGF":{"name":"registerProcessors(_:)","abstract":"Registers the given text processors with the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20unregisterProcessorsyySayAA14TextProcessing_pGF":{"name":"unregisterProcessors(_:)","abstract":"Unregisters the given text processors from the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16registerCommandsyySayAA0B7Command_pGF":{"name":"registerCommands(_:)","abstract":"Registers the given commands with the Editor. Only registered commands can be executed if any is added to the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18unregisterCommandsyySayAA0B7Command_pGF":{"name":"unregisterCommands(_:)","abstract":"Unregisters the given commands from the Editor. When all commands are unregistered, any command can be executed on the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15registerCommandyyAA0bE0_pF":{"name":"registerCommand(_:)","abstract":"Registers the given command with the Editor. Only registered commands can be executed if any is added to the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17unregisterCommandyyAA0bE0_pF":{"name":"unregisterCommand(_:)","abstract":"Unregisters the given command from the Editor. When all commands are unregistered, any command can be executed on the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)canPerformAction:withSender:":{"name":"canPerformAction(_:withSender:)","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20canPerformMenuAction_10withSenderSb10ObjectiveC8SelectorV_ypSgtF":{"name":"canPerformMenuAction(_:withSender:)","abstract":"Determines if the given menu action can be invoked.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5paste16attributedString4intoSbSo012NSAttributedF0C_So8_NSRangeVtF":{"name":"paste(attributedString:into:)","abstract":"This method attempt to simulate the paste
method but with explicitly provided attributed string and insertion range.
Adds given attributes to the range provided. If the range already contains a value for an attribute being provided,","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16removeAttributes_2atySaySo21NSAttributedStringKeyaG_So8_NSRangeVtF":{"name":"removeAttributes(_:at:)","abstract":"
Removes the given attributes from the range provided. If the attribute does not exist in the range, it will be a no-op.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12addAttribute_5value2atySo21NSAttributedStringKeya_ypSo8_NSRangeVtF":{"name":"addAttribute(_:value:at:)","abstract":"Adds given attribute to the range provided. If the attribute already exists in the range, it will be overwritten with the new value provided here.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15removeAttribute_2atySo21NSAttributedStringKeya_So8_NSRangeVtF":{"name":"removeAttribute(_:at:)","abstract":"Removes the attribute from given range. If the attribute does not exist in the range, it is a no-op.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16resolveAsyncTextyyF":{"name":"resolveAsyncText()","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19isCommandRegisteredySbAA0E4NameVF":{"name":"isCommandRegistered(_:)","abstract":"Determines if the given command can be executed on the current editor. The command is allowed to be executed if","parent_name":"EditorView"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"
Background color
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC013roundedCornerC0AA07RoundedeC0Ovp":{"name":"roundedCornerStyle","abstract":"Rounding style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6borderAA06BorderC0CSgvp":{"name":"border","abstract":"Optional border style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6shadowAA06ShadowC0CSgvp":{"name":"shadow","abstract":"Optional shadow style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC18hasSquaredOffJoinsSbvp":{"name":"hasSquaredOffJoins","abstract":"Determines if the background has squared off joins at the point of wrapping of content.","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC10heightModeAA0bE0Ovp":{"name":"heightMode","abstract":"
Defines if the background should be drawn based on height of text range with style, or that of the height of line fragment containing","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC9widthModeAA0bE0Ovp":{"name":"widthMode","abstract":"
Defines if the background should be drawn based on width of text range with style, or that of the entire width of line fragment containing","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6insetsSo12UIEdgeInsetsVvp":{"name":"insets","abstract":"
Insets for drawn background. Defaults to .zero
Undocumented
","parent_name":"BackgroundStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"Color of border
","parent_name":"BorderStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC9lineWidth14CoreFoundation7CGFloatVvp":{"name":"lineWidth","abstract":"Width of the border
","parent_name":"BorderStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC9lineWidth5colorAC14CoreFoundation7CGFloatV_So7UIColorCtcfc":{"name":"init(lineWidth:color:)","abstract":"Undocumented
","parent_name":"BorderStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"Color of the shadow
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC6offsetSo6CGSizeVvp":{"name":"offset","abstract":"Shadow offset
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC4blur14CoreFoundation7CGFloatVvp":{"name":"blur","abstract":"Shadow blur
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC5color6offset4blurACSo7UIColorC_So6CGSizeV14CoreFoundation7CGFloatVtcfc":{"name":"init(color:offset:blur:)","abstract":"Undocumented
","parent_name":"ShadowStyle"},"Classes/Attachment.html#/s:6Proton10AttachmentC18selectBeforeDeleteSbvp":{"name":"selectBeforeDelete","abstract":"Governs if the attachment should be selected before being deleted. When true
, tapping the backspace key the first time on range containing Attachment
will only","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6stringSo18NSAttributedStringCvp":{"name":"string","abstract":"
Attributed string representation of the Attachment
. This can be used directly to replace a range of text in EditorView
Name of the content contained within the Attachment
Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC19containerEditorViewAA0dE0CSgvp":{"name":"containerEditorView","abstract":"EditorView
containing this attachment
Offsets for the attachment. Can be used to align attachment with the text. Defaults to .zero
Name of the content for the EditorView
Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC15containerBoundsSo6CGRectVSgvp":{"name":"containerBounds","abstract":"Bounds of the container
","parent_name":"Attachment"},"Classes/Attachment.html#/c:@M@Proton@objc(cs)Attachment(py)bounds":{"name":"bounds","abstract":"The bounds rectangle, which describes the attachment’s location and size in its own coordinate system.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC5imageAcA0B5ImageV_tcfc":{"name":"init(image:)","abstract":"Initializes an attachment with the image provided.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC_4sizeAcA0B15TypeIdentifying_AA013EditorContentE0So6UIViewCXc_AA0B4SizeOtcfc":{"name":"init(_:size:)","abstract":"Initializes the attachment with the given content view
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC15didChangeBounds_03oldE0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","abstract":"Causes invalidation of layout of the attachment when the containing view bounds are changed
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC19removeFromContaineryyF":{"name":"removeFromContainer()","abstract":"Removes this attachment from the EditorView
it is contained in.
Range of this attachment in it’s container
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC32addedAttributesOnContainingRange16rangeInContainer10attributesySo8_NSRangeV_SDySo21NSAttributedStringKeyaypGtF":{"name":"addedAttributesOnContainingRange(rangeInContainer:attributes:)","abstract":"Invoked when attributes are added in the containing EditorView
in the range of string in which this attachment is contained.
Returns the calculated bounds for the attachment based on size rule and content view provided during initialization.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6update4withyAA0B5ImageV_tF":{"name":"update(with:)","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6update_4sizeyAA0B15TypeIdentifying_AA013EditorContentF0So6UIViewCXc_AA0B4SizeOtF":{"name":"update(_:size:)","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC40getFullTextRangeIdentificationAttributesSDySo21NSAttributedStringKeyaypGyF":{"name":"getFullTextRangeIdentificationAttributes()","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC16invalidateLayoutyyF":{"name":"invalidateLayout()","abstract":"Invalidates the current layout and triggers a layout update.
","parent_name":"Attachment"},"Classes/Attachment.html":{"name":"Attachment","abstract":"An attachment can be used as a container for any view object. Based on the AttachmentSize
provided, the attachment automatically renders itself alongside the text in EditorView
."},"Classes/ShadowStyle.html":{"name":"ShadowStyle","abstract":"
Shadow style for backgroundStyle
attribute
Border style for backgroundStyle
attribute
Style for background color attribute. Adding backgroundStyle
attribute will add border, background and shadow"},"Classes/EditorView.html":{"name":"EditorView","abstract":"
A scrollable, multiline text region capable of resizing itself based of the height of the content. Maximum height of EditorView
"},"Classes/EditorViewContext.html":{"name":"EditorViewContext","abstract":"
Describes the context for the EditorView
. A context is used to execute the commands using EditorCommandExecutor
. In a typical scenario, where there are"},"Classes/AttributesToggleCommand.html":{"name":"AttributesToggleCommand","abstract":"
Editor command that toggles given attributes in selected range in the Editor.
"},"Classes/BoldCommand.html":{"name":"BoldCommand","abstract":"Editor command that toggles Bold attribute to the selected range in the Editor.
"},"Classes/FontTraitToggleCommand.html":{"name":"FontTraitToggleCommand","abstract":"Editor command that toggles given font trait to the selected range in the Editor.
"},"Classes/ItalicsCommand.html":{"name":"ItalicsCommand","abstract":"Editor command that toggles Italics attribute to the selected range in the Editor.
"},"Classes/ListCommand.html":{"name":"ListCommand","abstract":"Command that can be used to toggle list attributes of selected range of text."},"Classes/ListIndentCommand.html":{"name":"ListIndentCommand","abstract":"
Command that can be used to toggle list indentation of selected range of text.
"},"Classes/ListOutdentCommand.html":{"name":"ListOutdentCommand","abstract":"Command that can be used to toggle list indentation of selected range of text.
"},"Classes/StrikethroughCommand.html":{"name":"StrikethroughCommand","abstract":"Undocumented
"},"Classes/UnderlineCommand.html":{"name":"UnderlineCommand","abstract":"Undocumented
"},"Classes/EditorCommandExecutor.html":{"name":"EditorCommandExecutor","abstract":"EditorCommandExecutor
manages all the EditorView
in the main EditorView
. Sub editors may have been added as Attachment
in the EditorView
."},"Classes/GridCell.html":{"name":"GridCell","abstract":"
Denotes a cell in the GridView
A view that provides a tabular structure where each cell is an EditorView
."},"Classes/ListTextProcessor.html":{"name":"ListTextProcessor","abstract":"
Text process capable of processing keyboard inputs specific to lists. ListTextProcessor
only works after a range of text"},"Classes.html":{"name":"Classes","abstract":"
The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}} \ No newline at end of file +{"Typealiases.html#/s:6Proton10Attributesa":{"name":"Attributes","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton14AttachmentViewa":{"name":"AttachmentView","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton25AttachmentViewIdentifyinga":{"name":"AttachmentViewIdentifying","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton22TextProcessingPrioritya":{"name":"TextProcessingPriority","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton9Processeda":{"name":"Processed","abstract":"Undocumented
"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5colorSo7UIColorCvp":{"name":"color","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5color5widthAESo7UIColorC_14CoreFoundation7CGFloatVtcfc":{"name":"init(color:width:)","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html":{"name":"BorderStyle","abstract":"Border style for individual cells. This may be used to override the style provided in the GridStyle
for individual cells
Default background color for the cell.
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV9textColorSo7UIColorCSgvp":{"name":"textColor","abstract":"Default text color for the cell
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV4fontSo6UIFontCSgvp":{"name":"font","abstract":"Default font for the cell
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV06borderD0AC06BorderD0VSgvp":{"name":"borderStyle","abstract":"Undocumented
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV15backgroundColor04textF04font06borderD0ACSo7UIColorCSg_AJSo6UIFontCSgAC06BorderD0VSgtcfc":{"name":"init(backgroundColor:textColor:font:borderStyle:)","abstract":"Undocumented
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV6merged5style5otherA2C_ACtFZ":{"name":"merged(style:other:)","abstract":"Creates a merged styles from given styles with precedence to the first style and any missing values used from the second style
","parent_name":"GridCellStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderColorSo7UIColorCvp":{"name":"borderColor","abstract":"Border color for grid
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderWidth14CoreFoundation7CGFloatVvp":{"name":"borderWidth","abstract":"Border width for the grid
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV7defaultACvpZ":{"name":"default","abstract":"Default style
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderColor0D5WidthACSo7UIColorC_14CoreFoundation7CGFloatVtcfc":{"name":"init(borderColor:borderWidth:)","abstract":"Undocumented
","parent_name":"GridStyle"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV5styleAA0B5StyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV23boundsLimitShadowColorsAA08GradientG0Vvp":{"name":"boundsLimitShadowColors","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV07columnsC0SayAA0b6ColumnC0VGvp":{"name":"columnsConfiguration","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV04rowsC0SayAA0b3RowC0VGvp":{"name":"rowsConfiguration","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV20collapsedColumnWidth14CoreFoundation7CGFloatVvp":{"name":"collapsedColumnWidth","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV18collapsedRowHeight14CoreFoundation7CGFloatVvp":{"name":"collapsedRowHeight","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV07columnsC004rowsC05style23boundsLimitShadowColors20collapsedColumnWidth0K9RowHeightACSayAA0blC0VG_SayAA0bnC0VGAA0B5StyleVAA08GradientJ0V14CoreFoundation7CGFloatVAVtcfc":{"name":"init(columnsConfiguration:rowsConfiguration:style:boundsLimitShadowColors:collapsedColumnWidth:collapsedRowHeight:)","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV15numberOfColumnsSivp":{"name":"numberOfColumns","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV12numberOfRowsSivp":{"name":"numberOfRows","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV7primarySo7UIColorCvp":{"name":"primary","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV9secondarySo7UIColorCvp":{"name":"secondary","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV7primary9secondaryACSo7UIColorC_AGtcfc":{"name":"init(primary:secondary:)","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV13initialHeight14CoreFoundation7CGFloatVvp":{"name":"initialHeight","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV5styleAA0B9CellStyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV13initialHeight5styleAC14CoreFoundation7CGFloatV_AA0B9CellStyleVtcfc":{"name":"init(initialHeight:style:)","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5widthAA0bC5WidthOvp":{"name":"width","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5styleAA0B9CellStyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5width5styleAcA0bC5WidthO_AA0B9CellStyleVtcfc":{"name":"init(width:style:)","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingV11EncodedTypea":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingVyACyxGqd__c11EncodedTypeQyd__RszAA0eF0Rd__lufc":{"name":"init(_:)","abstract":"Initializes the Encoder
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingV6encode4name4viewxSo08PREditorD4NameC_So6UIViewCtF":{"name":"encode(name:view:)","abstract":"Encodes contents based on concrete encoder provided during initialization
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingV11EncodedTypea":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AnyEditorTextEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingVyACyxGqd__c11EncodedTypeQyd__RszAA0cdE0Rd__lufc":{"name":"init(_:)","abstract":"Initializes the Encoder
","parent_name":"AnyEditorTextEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingV6encode4name6stringxSo19PREditorContentNameC_So18NSAttributedStringCtF":{"name":"encode(name:string:)","abstract":"Encodes contents based on concrete encoder provided during initialization
","parent_name":"AnyEditorTextEncoding"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV11indentation14CoreFoundation7CGFloatVvp":{"name":"indentation","abstract":"Indentation of line
","parent_name":"LineFormatting"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV13spacingBefore14CoreFoundation7CGFloatVvp":{"name":"spacingBefore","abstract":"Vertical spacing before the line
","parent_name":"LineFormatting"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV11indentation13spacingBeforeAC14CoreFoundation7CGFloatV_AHtcfc":{"name":"init(indentation:spacingBefore:)","abstract":"Initializes
","parent_name":"LineFormatting"},"Structs/EditorLine.html#/s:6Proton10EditorLineV4textSo18NSAttributedStringCvp":{"name":"text","abstract":"Text contained in the current line.
","parent_name":"EditorLine"},"Structs/EditorLine.html#/s:6Proton10EditorLineV5rangeSo8_NSRangeVvp":{"name":"range","abstract":"Range of text in the EditorView
for the current line.
Determines if the current line starts with given text.","parent_name":"EditorLine"},"Structs/EditorLine.html#/s:6Proton10EditorLineV8endsWithySbSSF":{"name":"endsWith(_:)","abstract":"
Determines if the current line ends with given text.","parent_name":"EditorLine"},"Structs/AttachmentContentIdentifier.html#/s:6Proton27AttachmentContentIdentifierV9openingIDSo18NSAttributedStringCvp":{"name":"openingID","abstract":"
Undocumented
","parent_name":"AttachmentContentIdentifier"},"Structs/AttachmentContentIdentifier.html#/s:6Proton27AttachmentContentIdentifierV9closingIDSo18NSAttributedStringCvp":{"name":"closingID","abstract":"Undocumented
","parent_name":"AttachmentContentIdentifier"},"Structs/EditorContent.html#/s:6Proton13EditorContentV4typeAA0bC4TypeOvp":{"name":"type","abstract":"Type of EditorContent
Range within the Editor
for this content
Name for the content within the Editor. All the content (text and attachments) must have","parent_name":"EditorContent"},"Structs/AnyEditorContentDecoding.html#/s:6Proton24AnyEditorContentDecodingVyACyxq_Gqd__c12TypeToDecodeQyd__Rsz0E7ContextQyd__Rs_AA0cdE0Rd__lufc":{"name":"init(_:)","abstract":"
Initializes AnyEditorContentDecoding
","parent_name":"AnyEditorContentDecoding"},"Structs/AnyEditorContentDecoding.html#/s:6Proton24AnyEditorContentDecodingV6decode4mode7maxSize5value7contextSo18NSAttributedStringCAA0cD4ModeO_So6CGSizeVxq_tKF":{"name":"decode(mode:maxSize:value:context:)","abstract":"Decodes the given value to NSAttributedString
Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/AnyAttributeDecoding.html#/s:6Proton20AnyAttributeDecodingVyACyxGqd__c12TypeToDecodeQyd__RszAA010AttributesD0Rd__lufc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/AnyAttributeDecoding.html#/s:6Proton20AnyAttributeDecodingV6decodeySDySo21NSAttributedStringKeyaypGxF":{"name":"decode(_:)","abstract":"Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/SquareBulletSequenceGenerator.html#/s:6Proton29SquareBulletSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"SquareBulletSequenceGenerator"},"Structs/SquareBulletSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"SquareBulletSequenceGenerator"},"Structs/DiamondBulletSequenceGenerator.html#/s:6Proton30DiamondBulletSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"DiamondBulletSequenceGenerator"},"Structs/DiamondBulletSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"DiamondBulletSequenceGenerator"},"Structs/NumericSequenceGenerator.html#/s:6Proton24NumericSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"NumericSequenceGenerator"},"Structs/NumericSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"NumericSequenceGenerator"},"Structs/ListParser.html#/s:6Proton10ListParserV5parse4list6indentSo18NSAttributedStringCSayAA0B4ItemVG_14CoreFoundation7CGFloatVtFZ":{"name":"parse(list:indent:)","abstract":"Parses an array of list items into an NSAttributedString
representation. NewLines
are automatically added between each list item in the attributed string representation.
Parses NSAttributedString to list items
","parent_name":"ListParser"},"Structs/ListItem.html#/s:6Proton8ListItemV4textSo18NSAttributedStringCvp":{"name":"text","abstract":"Text of the list item. All attributes are preserved as is.
","parent_name":"ListItem"},"Structs/ListItem.html#/s:6Proton8ListItemV5levelSivp":{"name":"level","abstract":"Level of the list item. This is used with indent to get paragraphStyle
to be applied with appropriate indentation of the list items.
Attribute value of the list item.
","parent_name":"ListItem"},"Structs/ListItem.html#/s:6Proton8ListItemV4text5level14attributeValueACSo18NSAttributedStringC_Siyptcfc":{"name":"init(text:level:attributeValue:)","abstract":"Creates a ListItem
Name of the command. Must be unique across different types of commands.
","parent_name":"CommandName"},"Structs/CommandName.html#/s:6Proton11CommandNameVyACSScfc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"CommandName"},"Structs/CommandName.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"CommandName"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4nameSo19PREditorContentNameCvp":{"name":"name","abstract":"Content name for the image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV5imageSo7UIImageCvp":{"name":"image","abstract":"Image content
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4sizeSo6CGSizeVvp":{"name":"size","abstract":"Size of the image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4typeAA0B4TypeOvp":{"name":"type","abstract":"Denotes if the image is block content or an inline
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4name5image4size4typeACSo19PREditorContentNameC_So7UIImageCSo6CGSizeVAA0B4TypeOtcfc":{"name":"init(name:image:size:type:)","abstract":"Initializes the Block Content image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html":{"name":"AttachmentImage","abstract":"Describes an image for which can be used in an Attachment
Identifies an EditorCommand or a RendererCommand
"},"Structs/ListItem.html":{"name":"ListItem","abstract":"Represents an item in the list. This structure may be used to create NSAttributedString
from items in an array of ListItem
. Alternatively, NSAttributedString
may also be parsed to get an array of ListItem
s.
Provides helper function to convert between NSAttributedString
and [ListItem]
Simple numeric sequence generator.
"},"Structs/DiamondBulletSequenceGenerator.html":{"name":"DiamondBulletSequenceGenerator","abstract":"Simple bullet sequence generator that returns a diamond symbol.
"},"Structs/SquareBulletSequenceGenerator.html":{"name":"SquareBulletSequenceGenerator","abstract":"Simple bullet sequence generator that returns a square symbol.
"},"Structs/AnyAttributeDecoding.html":{"name":"AnyAttributeDecoding","abstract":"A type-erased implementation of AttributesDecoding
A type-erased implementation of EditorContentDecoding
Defines a content type for Editor
. This may be used to serialize the contents of an Editor
via enumerating through the contents of the Editor
.
Describes opening and closing separators for EditorView
‘getFullAttributedText(:)
function.
Representation of a line of text in EditorView
. A line is defined as a single fragment starting from the beginning of"},"Structs/LineFormatting.html":{"name":"LineFormatting","abstract":"
Describes the formatting of a line of text. While general purpose in nature, this is"},"Structs/AnyEditorTextEncoding.html":{"name":"AnyEditorTextEncoding","abstract":"
/// A type-erased implementation of EditorTextEncoding
A type-erased implementation of AttachmentEncoding
.
Undocumented
"},"Structs/GridRowConfiguration.html":{"name":"GridRowConfiguration","abstract":"Undocumented
"},"Structs/GradientColors.html":{"name":"GradientColors","abstract":"Undocumented
"},"Structs/GridConfiguration.html":{"name":"GridConfiguration","abstract":"Undocumented
"},"Structs/GridStyle.html":{"name":"GridStyle","abstract":"Style configuration for the grid
"},"Structs/GridCellStyle.html":{"name":"GridCellStyle","abstract":"Style configuration for the GridCell
Name of the TextProcessor
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP8prioritySivp":{"name":"priority","abstract":"Priority of the TextProcessor. An EditorView
can have multiple TextProcessors
registered. These will be executed in the order of Priority
.
Determines if the text should be changed in the editor.
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP11willProcess07deletedB008insertedB0ySo18NSAttributedStringC_AHtF":{"name":"willProcess(deletedText:insertedText:)","abstract":"Invoked before changes are processed by the editor.
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP7process6editor5range14changeInLengthSbAA10EditorViewC_So8_NSRangeVSitF":{"name":"process(editor:range:changeInLength:)","abstract":"Allows to change attributes and text in the EditorView
as the text is changed.
Allows to change attributes and text in the EditorView
as the text is changed.
Fired when processing has been interrupted by another TextProcessor
running in the same pass. This allows TextProcessor
to revert","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP20selectedRangeChanged6editor03oldE003newE0yAA10EditorViewC_So8_NSRangeVSgALtF":{"name":"selectedRangeChanged(editor:oldRange:newRange:)","abstract":"
Notifies the processor that the selected range has changed in the EditorView due to a reason other than typing text","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP10didProcess6editoryAA10EditorViewC_tF":{"name":"didProcess(editor:)","abstract":"
Invoked after the text has been processed in the Editor
.
Invoked when EditorView
within the cell receives focus
Invoked when EditorView
within the cell loses focus
Invoked when tap event occurs within the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_20didChangeSelectionAt10attributes11contentType2inyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCAA0B4CellCtF":{"name":"gridView(_:didChangeSelectionAt:attributes:contentType:in:)","abstract":"Invoked on selection changes with in the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_15didChangeBounds2inyAA0bC0C_So6CGRectVAA0B4CellCtF":{"name":"gridView(_:didChangeBounds:in:)","abstract":"Invoked on change of bounds of the Editor within the cell
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_14didSelectCellsyAA0bC0C_SayAA0B4CellCGtF":{"name":"gridView(_:didSelectCells:)","abstract":"Invoked when selection of cells is changed.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_16didUnselectCellsyAA0bC0C_SayAA0B4CellCGtF":{"name":"gridView(_:didUnselectCells:)","abstract":"Invoked when selection of cells is changed.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_13didReceiveKey2at2inyAA0bC0C_AA06EditorH0OSo8_NSRangeVAA0B4CellCtF":{"name":"gridView(_:didReceiveKey:at:in:)","abstract":"Invoked when special keys are intercepted in the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_23shouldChangeColumnWidth3forSbAA0bC0C_14CoreFoundation7CGFloatVSitF":{"name":"gridView(_:shouldChangeColumnWidth:for:)","abstract":"Invoked when a column in GridView
is resized.
Undocumented
","parent_name":"GridViewDelegate"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP1TQa":{"name":"T","abstract":"Undocumented
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP12textEncodersSDySo08PREditorC4NameCAA03AnyB12TextEncodingVy1TQzGGvp":{"name":"textEncoders","abstract":"Encoders for text content i.e. NSAttributedString based content
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP18attachmentEncodersSDySo08PREditorC4NameCAA03AnybC18AttachmentEncodingVy1TQzGGvp":{"name":"attachmentEncoders","abstract":"Encoders for attachment types
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP6encodey1TQzSgAA0bC0VF":{"name":"encode(_:)","abstract":"Encodes the given content.
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoding.html#/s:6Proton21EditorContentEncodingP11EncodedTypeQa":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"EditorContentEncoding"},"Protocols/EditorContentEncoding.html#/s:6Proton21EditorContentEncodingP6encodey11EncodedTypeQzSgAA0bC0VF":{"name":"encode(_:)","abstract":"Undocumented
","parent_name":"EditorContentEncoding"},"Protocols/AttachmentEncoding.html#/s:6Proton18AttachmentEncodingP11EncodedTypeQa":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AttachmentEncoding"},"Protocols/AttachmentEncoding.html#/s:6Proton18AttachmentEncodingP6encode4name4view11EncodedTypeQzSo19PREditorContentNameC_So6UIViewCtF":{"name":"encode(name:view:)","abstract":"Encodes given Attachment
content view to given type
Undocumented
","parent_name":"EditorTextEncoding"},"Protocols/EditorTextEncoding.html#/s:6Proton18EditorTextEncodingP6encode4name6string11EncodedTypeQzSo19PREditorContentNameC_So18NSAttributedStringCtF":{"name":"encode(name:string:)","abstract":"Encodes the given attributed string to EncodedType
Identifies a command. This value is used to maintain unique registrations of commands in an Editor. Adding a command with the same name","parent_name":"EditorCommand"},"Protocols/EditorCommand.html#/s:6Proton13EditorCommandP10canExecute2onSbAA0B4ViewC_tF":{"name":"canExecute(on:)","abstract":"
Determines if the current command can be executed on the given EditorView
. When a command is executed using EditorCommandExecutor
, it ensures","parent_name":"EditorCommand"},"Protocols/EditorCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","abstract":"
Execute the command on the given EditorView
. You may use selectedRange
property of EditorView
if the command operates on","parent_name":"EditorCommand"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_12shouldHandle2at7handledyAA0bC0C_AA0B3KeyOSo8_NSRangeVSbztF":{"name":"editor(_:shouldHandle:at:handled:)","abstract":"
Invoked when a special key like enter
, tab
etc. is intercepted in the Editor
Invoked when a special key like enter
, tab
etc. is entered in the Editor
Invoked when editor receives focus.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didLoseFocusFrom:)","abstract":"Invoked when editor loses the focus.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_15didChangeTextAtyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didChangeTextAt:)","abstract":"Invoked when text is changed in editor.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF":{"name":"editor(_:didChangeSelectionAt:attributes:contentType:)","abstract":"Invoked when the selection range changes in the editor as a result of moving the cursor using keys/mouse or taps.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_20didExecuteProcessors2atyAA0bC0C_SayAA14TextProcessing_pGSo8_NSRangeVtF":{"name":"editor(_:didExecuteProcessors:at:)","abstract":"Invoked when text processors are executed in the editor.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_13didChangeSize08previousH0yAA0bC0C_So6CGSizeVAJtF":{"name":"editor(_:didChangeSize:previousSize:)","abstract":"Invoked when the size of EditorView changes.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF":{"name":"editor(_:didTapAtLocation:characterRange:)","abstract":"Invoked when a location within the EditorView
is tapped.
Invoked whenever layout pass completes as a result of changing or text or attributes
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_21willSetAttributedTextyAA0bC0C_So18NSAttributedStringCtF":{"name":"editor(_:willSetAttributedText:)","abstract":"Invoked before attributedText is set on the EditorView
Invoked after attributedText is set on the EditorView
Invoked when Editor has been added to the view hierarchy and is ready to receive events.
","parent_name":"EditorViewDelegate"},"Protocols/BoundsObserving.html#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","abstract":"Lets the observer know that bounds of current object have changed
","parent_name":"BoundsObserving"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP6editorAA0bD0Cvp":{"name":"editor","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP14attributedTextSo18NSAttributedStringCvp":{"name":"attributedText","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP9maxHeightAA0bF0Ovp":{"name":"maxHeight","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP8delegateAA0bD8Delegate_pSgvp":{"name":"delegate","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP20becomeFirstResponderSbyF":{"name":"becomeFirstResponder()","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewPAAE8setFocusyyF":{"name":"setFocus()","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/AttachmentTypeIdentifying.html#/s:6Proton25AttachmentTypeIdentifyingP4typeAA0bC0Ovp":{"name":"type","abstract":"Undocumented
","parent_name":"AttachmentTypeIdentifying"},"Protocols/EditorContentIdentifying.html#/s:6Proton24EditorContentIdentifyingP4nameSo08PREditorC4NameCvp":{"name":"name","abstract":"Undocumented
","parent_name":"EditorContentIdentifying"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP12TypeToDecodeQa":{"name":"TypeToDecode","abstract":"Undocumented
","parent_name":"EditorContentDecoding"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP0D7ContextQa":{"name":"DecodingContext","abstract":"Undocumented
","parent_name":"EditorContentDecoding"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP6decode4mode7maxSize5value7contextSo18NSAttributedStringCAA0bC4ModeO_So6CGSizeV12TypeToDecodeQz0D7ContextQztKF":{"name":"decode(mode:maxSize:value:context:)","abstract":"Decodes the given value to NSAttributedString
Undocumented
","parent_name":"AttributesDecoding"},"Protocols/AttributesDecoding.html#/s:6Proton18AttributesDecodingP4nameSSvp":{"name":"name","abstract":"Undocumented
","parent_name":"AttributesDecoding"},"Protocols/AttributesDecoding.html#/s:6Proton18AttributesDecodingP6decodeySDySo21NSAttributedStringKeyaypG12TypeToDecodeQzF":{"name":"decode(_:)","abstract":"Undocumented
","parent_name":"AttributesDecoding"},"Protocols/SequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","abstract":"Returns a value representing the given index.
","parent_name":"SequenceGenerator"},"Protocols/EditorListFormattingProvider.html#/s:6Proton28EditorListFormattingProviderP08listLineD0AA0gD0Vvp":{"name":"listLineFormatting","abstract":"Line formatting to be used for a list item.
","parent_name":"EditorListFormattingProvider"},"Protocols/EditorListFormattingProvider.html#/s:6Proton28EditorListFormattingProviderP17listLineMarkerFor6editor5index5level13previousLevel14attributeValueAA0cgH0OAA0B4ViewC_S3iypSgtF":{"name":"listLineMarkerFor(editor:index:level:previousLevel:attributeValue:)","abstract":"Returns the marker to be drawn for list item (bullet/number etc.) for given parameters.
","parent_name":"EditorListFormattingProvider"},"Protocols/Focusable.html#/s:6Proton9FocusableP8setFocusyyF":{"name":"setFocus()","abstract":"Undocumented
","parent_name":"Focusable"},"Protocols/AttachmentOffsetProviding.html#/s:6Proton25AttachmentOffsetProvidingP6offset3for2in20proposedLineFragment13glyphPosition14characterIndexSo7CGPointVAA0B0C_So15NSTextContainerCSo6CGRectVAKSitF":{"name":"offset(for:in:proposedLineFragment:glyphPosition:characterIndex:)","abstract":"Undocumented
","parent_name":"AttachmentOffsetProviding"},"Protocols/DynamicBoundsProviding.html#/s:6Proton22DynamicBoundsProvidingP7sizeFor10attachment13containerSize8lineRectSo6CGSizeVAA10AttachmentC_AISo6CGRectVtF":{"name":"sizeFor(attachment:containerSize:lineRect:)","abstract":"Undocumented
","parent_name":"DynamicBoundsProviding"},"Protocols/AsyncTextResolving.html#/s:6Proton18AsyncTextResolvingP4nameSSvp":{"name":"name","abstract":"Name of the Resolver. This name must be applied to the range of text that requires async resolution with attribute key: .asyncTextResolver
Resolves the string to a different representation
","parent_name":"AsyncTextResolving"},"Protocols/AsyncTextResolving.html":{"name":"AsyncTextResolving","abstract":"An object capable of resolving text asynchronously to another representation. New representation may contain change in attributes or the string itself.
"},"Protocols/DynamicBoundsProviding.html":{"name":"DynamicBoundsProviding","abstract":"Describes an object (typically attachment view) that may change size during the layout pass
"},"Protocols/AttachmentOffsetProviding.html":{"name":"AttachmentOffsetProviding","abstract":"Describes an object capable of providing offsets for the Attachment
. The value is used to offset the Attachment
when rendered alongside the text. This may"},"Protocols/Focusable.html":{"name":"Focusable","abstract":"
Describes an object capable of gaining focus.
"},"Protocols/EditorListFormattingProvider.html":{"name":"EditorListFormattingProvider","abstract":"Describes an object capable of providing style and formatting information for rendering lists in EditorView
.
Represents a Sequence generator that can return a value based on given index."},"Protocols/AttributesDecoding.html":{"name":"AttributesDecoding","abstract":"
An object capable of decoding attributes for use in NSAttributedString
An object capable of decoding the given type of content into NSAttributedString
for using in EditorView
or the RendererView
.
Identifies a content type within the Editor
Undocumented
"},"Protocols/EditorContentView.html":{"name":"EditorContentView","abstract":"Describes a view contained in Attachment
that contains a single EditorView
."},"Protocols/BoundsObserving.html":{"name":"BoundsObserving","abstract":"
Describes an object interested in observing the bounds of a view. Attachment
is BoundsObserving
and reacts to"},"Protocols/EditorViewDelegate.html":{"name":"EditorViewDelegate","abstract":"
Describes an object interested in listening to events raised from EditorView
"},"Protocols/EditorCommand.html":{"name":"EditorCommand","abstract":"Describes a command that can be executed on EditorView
. A command may be invoked directly on the editor
by providing an instance."},"Protocols/EditorTextEncoding.html":{"name":"EditorTextEncoding","abstract":"
Describes an encoder for a content type in Editor. This can be used in conjunction with AnyEditorTextEncoding
"},"Protocols/AttachmentEncoding.html":{"name":"AttachmentEncoding","abstract":"
Describes an object capable of encoding contents of at Attachment
An object capable of encoding EditorContent
to given type.
A generic encoder for encoding EditorContent
. You may create encoders for individual types of contents in the Editor
, and"},"Protocols/GridViewDelegate.html":{"name":"GridViewDelegate","abstract":"
An object capable of handing GridView
events
An object capable of intercepting and modifying the text and attributes in an EditorView
when registered with the EditorView
.
Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE4highSivpZ":{"name":"high","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE6mediumSivpZ":{"name":"medium","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE3lowSivpZ":{"name":"low","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/UITextRange.html#/s:So11UITextRangeC6ProtonE9toNSRange2inSo01_E0VSgSo0A5Input_p_tF":{"name":"toNSRange(in:)","abstract":"Converts this range to NSRange
. Returns nil if range cannot be converted.
Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE6isBoldSbvp":{"name":"isBold","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE9isItalicsSbvp":{"name":"isItalics","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE12isMonoSpacedSbvp":{"name":"isMonoSpaced","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE12isAppleEmojiSbvp":{"name":"isAppleEmoji","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE9textStyleSo0a4TextD0avp":{"name":"textStyle","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE21isNonDynamicTextStyleSbvp":{"name":"isNonDynamicTextStyle","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE8contains5traitSbSo0A24DescriptorSymbolicTraitsV_tF":{"name":"contains(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE7toggled5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"toggled(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE6adding5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"adding(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE8removing5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"removing(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/String.html#/s:SS6ProtonE11makeNSRange4fromSo01_C0VSnySS5IndexVG_tF":{"name":"makeNSRange(from:)","abstract":"Converts given Range to NSRange in this string.
","parent_name":"String"},"Extensions/String.html#/s:SS6ProtonE16rangeFromNSRange0B0SnySS5IndexVGSgSo01_D0V_tF":{"name":"rangeFromNSRange(range:)","abstract":"Created String Range from given NSRange. Returns nil if range cannot be converted.
","parent_name":"String"},"Extensions/String.html#/s:SS6ProtonE8rangesOf12characterSetSaySnySS5IndexVGG10Foundation09CharacterE0V_tF":{"name":"rangesOf(characterSet:)","abstract":"Returns ranges of given CharacterSet in this string.
","parent_name":"String"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE4zeroABvpZ":{"name":"zero","abstract":"Range with 0 location and length
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE19firstCharacterRangeABvp":{"name":"firstCharacterRange","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE18lastCharacterRangeABvp":{"name":"lastCharacterRange","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE12nextPositionABvp":{"name":"nextPosition","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE11endLocationSivp":{"name":"endLocation","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE11toTextRange9textInputSo06UITextE0CSgSo0hG0_p_tF":{"name":"toTextRange(textInput:)","abstract":"Converts the range to UITextRange
in given UITextInput
. Returns nil if the range is invalid in the UITextInput
.
Checks if the range is valid in given UITextInput
Shifts the range with given shift value
","parent_name":"NSRange"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonEyABSScfc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE9paragraphABvpZ":{"name":"paragraph","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE8viewOnlyABvpZ":{"name":"viewOnly","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE7newlineABvpZ":{"name":"newline","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE4textABvpZ":{"name":"text","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE7unknownABvpZ":{"name":"unknown","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/NSParagraphStyle.html#/s:So16NSParagraphStyleC6ProtonE016mutableParagraphB0So09NSMutableeB0Cvp":{"name":"mutableParagraphStyle","abstract":"Creates a mutable copy of current style
","parent_name":"NSParagraphStyle"},"Extensions/NSParagraphStyle.html#/s:So16NSParagraphStyleC6ProtonE14lineFormattingAC04LineE0Vvp":{"name":"lineFormatting","abstract":"Returns LineFormatting
based on current style
Applying this attribute makes the range of text act as a single block/unit.","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE16blockContentTypeABvpZ":{"name":"blockContentType","abstract":"
Identifies block based attributes. A block acts as a container for other content types. For e.g. a Paragraph is a block content","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE17inlineContentTypeABvpZ":{"name":"inlineContentType","abstract":"
Identifies inline content attributes. An inline acts as a content in another content types. For e.g. an emoji is an inline content","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE15backgroundStyleABvpZ":{"name":"backgroundStyle","abstract":"
Additional style attribute for background color. Using this attribute in addition to backgroundColor
attribute allows applying","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE8listItemABvpZ":{"name":"listItem","abstract":"
Attribute denoting the range as a list item. This attribute enables use of ListTextProcessor
to indent/outdent list","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE18skipNextListMarkerABvpZ":{"name":"skipNextListMarker","abstract":"
When applied to a new line char alongside listItem
attribute, skips the rendering of list marker on subsequent line.
Array of NSAttributedString.Key
that must be locked in the applied range.
Undocumented
","parent_name":"Key"},"Extensions/NSAttributedString/Key.html":{"name":"Key","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9asMutableSo019NSMutableAttributedB0Cvp":{"name":"asMutable","abstract":"Creates a mutable copy
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16addingAttributes_2toABSDySo0aB3KeyaypG_So8_NSRangeVSgtF":{"name":"addingAttributes(_:to:)","abstract":"Undocumented
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE17enumerateContents2ins11AnySequenceVyAC13EditorContentVGSo8_NSRangeVSg_tF":{"name":"enumerateContents(in:)","abstract":"Enumerates block contents in given range.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE23enumerateInlineContents2ins11AnySequenceVyAC13EditorContentVGSo8_NSRangeVSg_tF":{"name":"enumerateInlineContents(in:)","abstract":"Enumerates only inline content in given range.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16rangeOfCharacter4fromSo8_NSRangeVSg10Foundation0F3SetV_tF":{"name":"rangeOfCharacter(from:)","abstract":"Returns in range of CharacterSet from this string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9fullRangeSo8_NSRangeVvp":{"name":"fullRange","abstract":"Full range of this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16attachmentRangesSayAC10AttachmentC0D0_So8_NSRangeV5rangetGvp":{"name":"attachmentRanges","abstract":"Collection of all the attachments with containing ranges in this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE8rangeFor10attachmentSo8_NSRangeVSgAC10AttachmentC_tF":{"name":"rangeFor(attachment:)","abstract":"Range of given attachment in this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE8rangesOf12characterSetSaySo8_NSRangeVG10Foundation09CharacterG0V_tF":{"name":"rangesOf(characterSet:)","abstract":"Ranges of CharacterSet
in this attributed string.
Attributed substring in reverse direction.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE7rangeOf9attribute16startingLocation13reverseLookupSo8_NSRangeVSgSo0aB3Keya_SiSbtF":{"name":"rangeOf(attribute:startingLocation:reverseLookup:)","abstract":"Gets the next range of attribute starting at the given location in direction based on reverse lookup flag
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE7rangeOf9attribute2atSo8_NSRangeVSgSo0aB3Keya_SitF":{"name":"rangeOf(attribute:at:)","abstract":"Gets the complete range of attribute at the given location. The attribute is looked up in both forward and","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE14attributeValue3for2atxSgSo0aB3Keya_SitlF":{"name":"attributeValue(for:at:)","abstract":"
Gets the value of attribute at the given location, if present.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9substring4fromSSSo8_NSRangeV_tF":{"name":"substring(from:)","abstract":"Alternative to attributedSubstring(from:_).string
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html":{"name":"NSAttributedString"},"Extensions/NSParagraphStyle.html":{"name":"NSParagraphStyle"},"Extensions/EditorContentName.html":{"name":"EditorContentName"},"Extensions/NSRange.html":{"name":"NSRange"},"Extensions/String.html":{"name":"String"},"Extensions/UIFont.html":{"name":"UIFont"},"Extensions/UITextRange.html":{"name":"UITextRange"},"Extensions/TextProcessingPriority.html":{"name":"TextProcessingPriority","abstract":"
Undocumented
"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO5fixedyAC14CoreFoundation7CGFloatVcACmF":{"name":"fixed(_:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO10fractionalyAC14CoreFoundation7CGFloatVcACmF":{"name":"fractional(_:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO5value7basedOn14CoreFoundation7CGFloatVAH_tF":{"name":"value(basedOn:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridViewError.html#/s:6Proton13GridViewErrorO26failedToInsertInFrozenRowsyA2CmF":{"name":"failedToInsertInFrozenRows","abstract":"Undocumented
","parent_name":"GridViewError"},"Enums/GridViewError.html#/s:6Proton13GridViewErrorO29failedToInsertInFrozenColumnsyA2CmF":{"name":"failedToInsertInFrozenColumns","abstract":"Undocumented
","parent_name":"GridViewError"},"Enums/Indentation.html#/s:6Proton11IndentationO6indentyA2CmF":{"name":"indent","abstract":"Undocumented
","parent_name":"Indentation"},"Enums/Indentation.html#/s:6Proton11IndentationO7outdentyA2CmF":{"name":"outdent","abstract":"Undocumented
","parent_name":"Indentation"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO7defaultyA2CmF":{"name":"default","abstract":"Default controlled via autolayout.
","parent_name":"EditorHeight"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO3maxyAC14CoreFoundation7CGFloatVcACmF":{"name":"max(_:)","abstract":"Maximum height editor is allowed to grow to before it starts scrolling
","parent_name":"EditorHeight"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO8infiniteyA2CmF":{"name":"infinite","abstract":"Boundless height.
","parent_name":"EditorHeight"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO4textyACSo08PREditorC4NameC_So18NSAttributedStringCtcACmF":{"name":"text(name:attributedString:)","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO10attachmentyACSo08PREditorC4NameC_AA10AttachmentCSo6UIViewCAA0hD0OtcACmF":{"name":"attachment(name:attachment:contentView:type:)","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO8viewOnlyyA2CmF":{"name":"viewOnly","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/AttachmentType.html#/s:6Proton14AttachmentTypeO5blockyA2CmF":{"name":"block","abstract":"Undocumented
","parent_name":"AttachmentType"},"Enums/AttachmentType.html#/s:6Proton14AttachmentTypeO6inlineyA2CmF":{"name":"inline","abstract":"Undocumented
","parent_name":"AttachmentType"},"Enums/EditorContentMode.html#/s:6Proton17EditorContentModeO6editoryA2CmF":{"name":"editor","abstract":"Undocumented
","parent_name":"EditorContentMode"},"Enums/EditorContentMode.html#/s:6Proton17EditorContentModeO8rendereryA2CmF":{"name":"renderer","abstract":"Undocumented
","parent_name":"EditorContentMode"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO5enteryA2CmF":{"name":"enter","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO9backspaceyA2CmF":{"name":"backspace","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO3tabyA2CmF":{"name":"tab","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/ListLineMarker.html#/s:6Proton14ListLineMarkerO6stringyACSo18NSAttributedStringCcACmF":{"name":"string(_:)","abstract":"Undocumented
","parent_name":"ListLineMarker"},"Enums/ListLineMarker.html#/s:6Proton14ListLineMarkerO5imageyACSo7UIImageC_So6CGSizeVtcACmF":{"name":"image(_:size:)","abstract":"Undocumented
","parent_name":"ListLineMarker"},"Enums/BackgroundMode.html#/s:6Proton14BackgroundModeO9matchTextyA2CmF":{"name":"matchText","abstract":"Background matches the height/width of text
","parent_name":"BackgroundMode"},"Enums/BackgroundMode.html#/s:6Proton14BackgroundModeO9matchLineyA2CmF":{"name":"matchLine","abstract":"Background matches entire line irrespective of font height/used character width in the given line
","parent_name":"BackgroundMode"},"Enums/RoundedCornerStyle.html#/s:6Proton18RoundedCornerStyleO8absoluteyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"absolute(value:)","abstract":"Rounding based on an absolute value for corner radii
","parent_name":"RoundedCornerStyle"},"Enums/RoundedCornerStyle.html#/s:6Proton18RoundedCornerStyleO8relativeyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"relative(percent:)","abstract":"Rounding based on relative percent value of the content height. For e.g. 50% would provide a capsule appearance","parent_name":"RoundedCornerStyle"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO12matchContentyA2CmF":{"name":"matchContent","abstract":"
Matches the size of the content view of attachment. Content view must provide size to Attachment
using didChangeBounds(:)
.
Takes up full width of the containing EditorView
. Resizes automatically when size of the container changes for e.g. when device is rotated. Height is dynamic based on content.
Fixed width attachment irrespective of content size of the contained view. Height is dynamic based on content.
","parent_name":"AttachmentSize"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO5rangeyAC14CoreFoundation7CGFloatV_AGtcACmF":{"name":"range(minWidth:maxWidth:)","abstract":"Width of attachment is locked between the min and max. Height is dynamic based on content.
","parent_name":"AttachmentSize"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO7percentyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"percent(width:)","abstract":"Width in percent based on the size of containing EditorView
. Absolute value of width changes if the size of the container changes for e.g. when device is rotated. Height is dynamic based on content.
Undocumented
","parent_name":"AsyncTextResolvingResult"},"Enums/AsyncTextResolvingResult.html#/s:6Proton24AsyncTextResolvingResultO7discardyA2CmF":{"name":"discard","abstract":"Undocumented
","parent_name":"AsyncTextResolvingResult"},"Enums/AsyncTextResolvingResult.html":{"name":"AsyncTextResolvingResult","abstract":"Result type for async text resolution
"},"Enums/AttachmentSize.html":{"name":"AttachmentSize","abstract":"Rendering size of the Attachment
Rounding style for backgroundStyle
attribute
Defines the mode for height/width used for the background for the text
"},"Enums/ListLineMarker.html":{"name":"ListLineMarker","abstract":"Marker for the list item
"},"Enums/EditorKey.html":{"name":"EditorKey","abstract":"Undocumented
"},"Enums/EditorContentMode.html":{"name":"EditorContentMode","abstract":"Content mode for Editor
. This may be used while decoding the content for the Editor/Renderer to let the Decoder know"},"Enums/AttachmentType.html":{"name":"AttachmentType","abstract":"
Type of attachment
"},"Enums/EditorContentType.html":{"name":"EditorContentType","abstract":"Type of EditorContent
Defines the height for the Editor
"},"Enums/Indentation.html":{"name":"Indentation","abstract":"Undocumented
"},"Enums/GridViewError.html":{"name":"GridViewError","abstract":"Undocumented
"},"Enums/GridColumnWidth.html":{"name":"GridColumnWidth","abstract":"Undocumented
"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP4nameSSvp":{"name":"name","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton17ListTextProcessorCACycfc":{"name":"init()","abstract":"Initializes text processor.
","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton17ListTextProcessorC8prioritySivp":{"name":"priority","abstract":"Priority of the text processor.
","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP13shouldProcess_0deB2In011replacementB0SbAA10EditorViewC_So8_NSRangeVSStF":{"name":"shouldProcess(_:shouldProcessTextIn:replacementText:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP18processInterrupted6editor2atyAA10EditorViewC_So8_NSRangeVtF":{"name":"processInterrupted(editor:at:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP7process6editor5range14changeInLengthSbAA10EditorViewC_So8_NSRangeVSitF":{"name":"process(editor:range:changeInLength:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP22handleKeyWithModifiers6editor3key13modifierFlags5rangeyAA10EditorViewC_AA0mE0OSo013UIKeyModifierK0VSo8_NSRangeVtF":{"name":"handleKeyWithModifiers(editor:key:modifierFlags:range:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP10didProcess6editoryAA10EditorViewC_tF":{"name":"didProcess(editor:)","parent_name":"ListTextProcessor"},"Classes/GridView.html#/s:6Proton8GridViewC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"Delegate for GridView
which can be used to handle cell specific EditorView
events
Determines if column resizing handles are visible or not.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"Bounds observer for the GridView
. Typically, this will be the Attachment
that hosts the GridView
.
Selection color for the GridView
. Defaults to tintColor
Determines if GridView
is selected or not.
Allows scrolling grid in any direction. Defaults to false
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC20frozenColumnMaxIndexSiSgvp":{"name":"frozenColumnMaxIndex","abstract":"
Maximum index up till which columns are frozen. Columns are frozen from 0 to this index value.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC17frozenRowMaxIndexSiSgvp":{"name":"frozenRowMaxIndex","abstract":"Maximum index up till which rows are frozen. Rows are frozen from 0 to this index value.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC21containsFrozenColumnsSbvp":{"name":"containsFrozenColumns","abstract":"Determines if there are any frozen columns in the GridView
Determines if there are any frozen rows in the GridView
Collection of cells contained in the GridView
Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC15numberOfColumnsSivp":{"name":"numberOfColumns","abstract":"Number of columns in the GridView
.
Number of rows in the GridView
Initializes GridView
using the provided configuration.
Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC17setColumnResizingyySbF":{"name":"setColumnResizing(_:)","abstract":"Enables or disables column resizing
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC24isCellSelectionMergeableySbSayAA0bE0CGF":{"name":"isCellSelectionMergeable(_:)","abstract":"Determines if the collection of cells can be merged. For cells to be mergable, they need to","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC5merge5cellsySayAA0B4CellCG_tF":{"name":"merge(cells:)","abstract":"
Merges the cells if the collection is mergeable.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC5split4cellyAA0B4CellC_tF":{"name":"split(cell:)","abstract":"Splits the cell into original constituent cells from earlier Merge operation.","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC9insertRow2at13configurations6ResultOySayAA0B4CellCGAA0bC5ErrorOGSi_AA0bE13ConfigurationVtF":{"name":"insertRow(at:configuration:)","abstract":"
Inserts a new row at given index.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12insertColumn2at13configurations6ResultOySayAA0B4CellCGAA0bC5ErrorOGSi_AA0bE13ConfigurationVtF":{"name":"insertColumn(at:configuration:)","abstract":"Inserts a new column at given index.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC9deleteRow2atySi_tF":{"name":"deleteRow(at:)","abstract":"Deletes the row at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12deleteColumn2atySi_tF":{"name":"deleteColumn(at:)","abstract":"Deletes the column at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC13freezeColumns4upToySi_tF":{"name":"freezeColumns(upTo:)","abstract":"Freezes all the columns from 0 to the index provided
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10freezeRows4upToySi_tF":{"name":"freezeRows(upTo:)","abstract":"Freezes all the rows from 0 to the index provided
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC15unfreezeColumnsyyF":{"name":"unfreezeColumns()","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12unfreezeRowsyyF":{"name":"unfreezeRows()","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC11collapseRow2atySi_tF":{"name":"collapseRow(at:)","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC6cellAt8rowIndex06columnG0AA0B4CellCSgSi_SitF":{"name":"cellAt(rowIndex:columnIndex:)","abstract":"Gets the cell at given row and column index. Indexes may be contained in a merged cell.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC14scrollToCellAt8rowIndex06columnI08animatedySi_SiSbtF":{"name":"scrollToCellAt(rowIndex:columnIndex:animated:)","abstract":"Scrolls the cell at given index into viewable area. Indexes may be contained in a merged cell.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10applyStyle_5toRowyAA0b4CellE0V_SitF":{"name":"applyStyle(_:toRow:)","abstract":"Applies style to row at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10applyStyle_8toColumnyAA0b4CellE0V_SitF":{"name":"applyStyle(_:toColumn:)","abstract":"Applies style to column at given index
","parent_name":"GridView"},"Classes/GridView.html#/c:@CM@Proton@objc(cs)GridView(im)scrollViewDidScroll:":{"name":"scrollViewDidScroll(_:)","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridCell.html#/s:6Proton8GridCellC7rowSpanSaySiGvp":{"name":"rowSpan","abstract":"Row indexes spanned by the cell. In case of a merged cell, this will contain all the rows= indexes which are merged.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC10columnSpanSaySiGvp":{"name":"columnSpan","abstract":"Column indexes spanned by the cell. In case of a merged cell, this will contain all the column indexes which are merged.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC5frameSo6CGRectVvp":{"name":"frame","abstract":"Frame of the cell within GridView
Sets the cell selected
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC6editorAA10EditorViewCvp":{"name":"editor","abstract":"Editor within the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC12isSplittableSbvp":{"name":"isSplittable","abstract":"Denotes if the cell can be split i.e. is a merged cell.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC11contentSizeSo6CGSizeVvp":{"name":"contentSize","abstract":"Content size of the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC11contentViewSo6UIViewCvp":{"name":"contentView","abstract":"Content view for the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC9gridStyleAA0bE0Vvp":{"name":"gridStyle","abstract":"Undocumented
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC7rowSpan06columnE013initialHeight5style9gridStyleACSaySiG_AI14CoreFoundation7CGFloatVAA0bcK0VAA0bK0Vtcfc":{"name":"init(rowSpan:columnSpan:initialHeight:style:gridStyle:)","abstract":"Undocumented
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC8setFocusyyF":{"name":"setFocus()","abstract":"Sets the focus in the Editor
within the cell.
Removes the focus from the Editor
within the cell.
Applies the given style to the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_17didReceiveFocusAtyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didReceiveFocusAt:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didLoseFocusFrom:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF":{"name":"editor(_:didTapAtLocation:characterRange:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF":{"name":"editor(_:didChangeSelectionAt:attributes:contentType:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_13didReceiveKey2atyAA0bC0C_AA0bH0OSo8_NSRangeVtF":{"name":"editor(_:didReceiveKey:at:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"GridCell"},"Classes/EditorCommandExecutor.html#/s:6Proton21EditorCommandExecutorC7contextAcA0B11ViewContextC_tcfc":{"name":"init(context:)","abstract":"Initializes the EditorCommandExecutor
Executes the given command on the active EditorView
having the same Context
as the Command Executor. EditorCommand
will be executed only","parent_name":"EditorCommandExecutor"},"Classes/UnderlineCommand.html#/s:6Proton16UnderlineCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"UnderlineCommand"},"Classes/StrikethroughCommand.html#/s:6Proton20StrikethroughCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"StrikethroughCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"ListOutdentCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandC4nameAA0D4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListOutdentCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"Outdents a list item if it supports reversing indentation. When applied on an item at first level, it will remove item from the list.","parent_name":"ListOutdentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"ListIndentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandC4nameAA0D4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListIndentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"Indents a list item if it supports indentation (e.g. unsupported item may mean item at first level)","parent_name":"ListIndentCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC4nameAA0C4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC14attributeValueypSgvp":{"name":"attributeValue","abstract":"Value to be set for attribute .listItem
when applying to a range of text.","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"
Executes the command with value of attributeValue
for .listItem
attribute. If the attributeValue
is nil, executing","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC7execute2on14attributeValueyAA10EditorViewC_ypSgtF":{"name":"execute(on:attributeValue:)","abstract":"
Executes the command with value of attributeValue
for .listItem
attribute.
Undocumented
","parent_name":"ItalicsCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton22FontTraitToggleCommandC5traitSo30UIFontDescriptorSymbolicTraitsVvp":{"name":"trait","abstract":"Undocumented
","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton13EditorCommandP4nameAA0C4NameVvp":{"name":"name","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton22FontTraitToggleCommandC4name5traitAcA0E4NameV_So30UIFontDescriptorSymbolicTraitsVtcfc":{"name":"init(name:trait:)","abstract":"Undocumented
","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","parent_name":"FontTraitToggleCommand"},"Classes/BoldCommand.html#/s:6Proton11BoldCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"BoldCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton23AttributesToggleCommandC10attributesSDySo21NSAttributedStringKeyaypGvp":{"name":"attributes","abstract":"Undocumented
","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton13EditorCommandP4nameAA0C4NameVvp":{"name":"name","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton23AttributesToggleCommandC4name10attributesAcA0D4NameV_SDySo21NSAttributedStringKeyaypGtcfc":{"name":"init(name:attributes:)","abstract":"Undocumented
","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","parent_name":"AttributesToggleCommand"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC2idSSvp":{"name":"id","abstract":"Identifies the EditorViewContext
uniquely.
Friendly name for the context. It is possible to create multiple EditorViewContext
using the same name.","parent_name":"EditorViewContext"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"
EditorView delegate at context level. This delegate will be notified about events in all the Editors that share this particular context.","parent_name":"EditorViewContext"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC6sharedACvpZ":{"name":"shared","abstract":"
Default shared context. Use this in case there is only a single EditorView
on the screen at the root level.
EditorView
for this context that is currently active.
Initializes a new context
","parent_name":"EditorViewContext"},"Classes/EditorView.html#/s:6Proton10EditorViewC06editorC7ContextAA0bcE0Cvp":{"name":"editorViewContext","abstract":"Context for the current Editor
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textInteractionsSaySo17UITextInteractionCGvp":{"name":"textInteractions","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC04textC8GesturesSaySo19UIGestureRecognizerCGvp":{"name":"textViewGestures","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC26textDragInteractionEnabledSbvp":{"name":"textDragInteractionEnabled","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)bounds":{"name":"bounds","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"An object interested in responding to editing and focus related events in the EditorView
.
List formatting provider to be used for rendering lists in the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18registeredCommandsSayAA0B7Command_pGSgvp":{"name":"registeredCommands","abstract":"List of commands supported by the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18asyncTextResolversSayAA05AsyncE9Resolving_pGvp":{"name":"asyncTextResolvers","abstract":"Async Text Resolvers supported by the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5frame7context16allowAutogrowingACSo6CGRectV_AA0bC7ContextCSbtcfc":{"name":"init(frame:context:allowAutogrowing:)","abstract":"Initializes the EditorView
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC020editorInputAccessoryC0So6UIViewCSgvp":{"name":"editorInputAccessoryView","abstract":"Input accessory view to be used
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC011editorInputC0So6UIViewCSgvp":{"name":"editorInputView","abstract":"Input view to be used
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)initWithCoder:":{"name":"init(coder:)","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20registeredProcessorsSayAA14TextProcessing_pGvp":{"name":"registeredProcessors","abstract":"List of all the registered TextProcessors
in the EditorView
. This may be used by nested EditorView
to inherit all the","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17selectedTextRangeSo06UITextF0CSgvp":{"name":"selectedTextRange","abstract":"
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15placeholderTextSo18NSAttributedStringCSgvp":{"name":"placeholderText","abstract":"Placeholder text for the EditorView
. The value can contain any attributes which is natively","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12contentInsetSo12UIEdgeInsetsVvp":{"name":"contentInset","abstract":"
Gets or sets insets for additional scroll area around the content. Default value is UIEdgeInsetsZero.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC29verticalScrollIndicatorInsetsSo06UIEdgeG0Vvp":{"name":"verticalScrollIndicatorInsets","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19keyboardDismissModeSo08UIScrollc8KeyboardeF0Vvp":{"name":"keyboardDismissMode","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15isScrollEnabledSbvp":{"name":"isScrollEnabled","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18textContainerInsetSo12UIEdgeInsetsVvp":{"name":"textContainerInset","abstract":"Gets or sets the insets for the text container’s layout area within the editor’s content area
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17dataDetectorTypesSo06UIDataeF0Vvp":{"name":"dataDetectorTypes","abstract":"The types of data converted to tappable URLs in the editor view.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13contentLengthSivp":{"name":"contentLength","abstract":"Length of content within the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC10isEditableSbvp":{"name":"isEditable","abstract":"Determines if the EditorView
is editable or not.
Determines if the editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17currentLayoutLineAA0bF0VSgvp":{"name":"currentLayoutLine","abstract":"Current line information based the caret position or selected range. If the selected range spans across multiple","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15firstLayoutLineAA0bF0VSgvp":{"name":"firstLayoutLine","abstract":"
First line of content based on layout in the Editor. Nil if editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14lastLayoutLineAA0bF0VSgvp":{"name":"lastLayoutLine","abstract":"Last line of content based on layout in the Editor. Nil if editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12selectedTextSo18NSAttributedStringCvp":{"name":"selectedText","abstract":"Selected text in the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)backgroundColor":{"name":"backgroundColor","abstract":"Background color for the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)font":{"name":"font","abstract":"Default font to be used by the Editor. A font may be overridden on whole or part of content in EditorView
by an EditorCommand
or","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle":{"name":"paragraphStyle","abstract":"
Default paragraph style to be used by the Editor. The style may be overridden on whole or part of content in","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)textColor":{"name":"textColor","abstract":"
Default text color to be used by the Editor. The color may be overridden on whole or part of content in","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC9maxHeightAA0bE0Ovp":{"name":"maxHeight","abstract":"
Maximum height that the EditorView
can expand to. After reaching the maximum specified height, the editor becomes scrollable.
Forces setting attributed text in EditorView
even if it is not","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14attributedTextSo18NSAttributedStringCvp":{"name":"attributedText","abstract":"
Text to be set in the EditorView
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16typingAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"typingAttributes","abstract":"Typing attributes to be used. Automatically resets when the selection changes.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"
An object interested in observing the changes in bounds of the Editor
, typically an Attachment
.
Gets and sets the content offset.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18linkTextAttributesSDySo21NSAttributedStringKeyaypGSgvp":{"name":"linkTextAttributes","abstract":"The attributes to apply to links.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12textEndRangeSo8_NSRangeVvp":{"name":"textEndRange","abstract":"Range of end of text in the EditorView
. The range has always has length of 0.
Determines if the current Editor is contained in an attachment
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC11contentNameSo015PREditorContentE0CSgvp":{"name":"contentName","abstract":"Name of the content if the Editor is contained within an Attachment
.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12visibleRangeSo8_NSRangeVvp":{"name":"visibleRange","abstract":"
Returns the visible text range.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19containerAttachmentAA0E0CSgvp":{"name":"containerAttachment","abstract":"Attachment containing the current Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12nestingLevelSivp":{"name":"nestingLevel","abstract":"Nesting level of current Editor within other attachments containing Editors.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC04rootB0ACvp":{"name":"rootEditor","abstract":"
Returns the root editor of the current Editor. Returns self
where the current editor is not contained within an Attachment
.
EditorView
containing the current EditorView
in an Attachment
Clears the contents in the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC22autocapitalizationTypeSo024UITextAutocapitalizationE0Vvp":{"name":"autocapitalizationType","abstract":"The auto-capitalization style for the text object.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18autocorrectionTypeSo020UITextAutocorrectionE0Vvp":{"name":"autocorrectionType","abstract":"
The autocorrection style for the text object.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17spellCheckingTypeSo011UITextSpelleF0Vvp":{"name":"spellCheckingType","abstract":"
The spell-checking style for the text object.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15smartQuotesTypeSo011UITextSmarteF0Vvp":{"name":"smartQuotesType","abstract":"The configuration state for smart quotes.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15smartDashesTypeSo011UITextSmarteF0Vvp":{"name":"smartDashesType","abstract":"The configuration state for smart dashes.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC21smartInsertDeleteTypeSo011UITextSmartefG0Vvp":{"name":"smartInsertDeleteType","abstract":"The configuration state for the smart insertion and deletion of space characters.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12keyboardTypeSo010UIKeyboardE0Vvp":{"name":"keyboardType","abstract":"The keyboard style associated with the text object.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18keyboardAppearanceSo010UIKeyboardE0Vvp":{"name":"keyboardAppearance","abstract":"The appearance style of the keyboard that is associated with the text object
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13returnKeyTypeSo08UIReturneF0Vvp":{"name":"returnKeyType","abstract":"The visible title of the Return key.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC29enablesReturnKeyAutomaticallySbvp":{"name":"enablesReturnKeyAutomatically","abstract":"A Boolean value indicating whether the Return key is automatically enabled when the user is entering text.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17isSecureTextEntrySbvp":{"name":"isSecureTextEntry","abstract":"
Identifies whether the text object should disable text copying and in some cases hide the text being entered.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15textContentTypeSo06UITexteF0aSgvp":{"name":"textContentType","abstract":"
The semantic meaning expected by a text input area.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC27allowsEditingTextAttributesSbvp":{"name":"allowsEditingTextAttributes","abstract":"
A Boolean value indicating whether the text view allows the user to edit style information.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12isSelectableSbvp":{"name":"isSelectable","abstract":"A Boolean value indicating whether the receiver is selectable.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textDragDelegateSo06UITexteF0_pSgvp":{"name":"textDragDelegate","abstract":"
A text drag delegate object for customizing the drag source behavior of a text view.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textDropDelegateSo06UITexteF0_pSgvp":{"name":"textDropDelegate","abstract":"The text drop delegate for interacting with a drop activity in the text view.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)didMoveToWindow":{"name":"didMoveToWindow()","abstract":"Subclasses can override it to perform additional actions whenever the window changes.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)sizeThatFits:":{"name":"sizeThatFits(_:)","abstract":"Asks the view to calculate and return the size that best fits the specified size.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)becomeFirstResponder":{"name":"becomeFirstResponder()","abstract":"Asks UIKit to make this object the first responder in its window.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC11markedRangeSo8_NSRangeVSgvp":{"name":"markedRange","abstract":"The range of currently marked text in a document.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13setAttributes_2atySDySo21NSAttributedStringKeyaypG_So8_NSRangeVtF":{"name":"setAttributes(_:at:)","abstract":"
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC21getFullAttributedText5using2inSo18NSAttributedStringCAA27AttachmentContentIdentifierV_So8_NSRangeVSgtF":{"name":"getFullAttributedText(using:in:)","abstract":"Returns the full attributed text contained in the EditorView
along with the ones in editors nested in contained Attachments.
Sets async text resolution to resolve on next text layout pass.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC24resolveAsyncTextIfNeededyyF":{"name":"resolveAsyncTextIfNeeded()","abstract":"Invokes async text resolution to resolve on demand.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16rangeOfCharacter2atSo8_NSRangeVSgSo7CGPointV_tF":{"name":"rangeOfCharacter(at:)","abstract":"Returns the range of character at the given point
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19contentLinesInRangeySayAA0B4LineVGSo8_NSRangeVF":{"name":"contentLinesInRange(_:)","abstract":"Gets the lines separated by newline characters from the given range.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19previousContentLine4fromAA0bF0VSgSi_tF":{"name":"previousContentLine(from:)","abstract":"Gets the previous line of content from the given location. A content line is defined by the presence of a","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15nextContentLine4fromAA0bF0VSgSi_tF":{"name":"nextContentLine(from:)","abstract":"
Gets the next line of content from the given location. A content line is defined by the presence of a","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15layoutLineAfteryAA0bE0VSgAFF":{"name":"layoutLineAfter(_:)","abstract":"
Gets the line preceding the given line. Nil if the given line is invalid or is first line
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16layoutLineBeforeyAA0bE0VSgAFF":{"name":"layoutLineBefore(_:)","abstract":"Gets the line before the given line. Nil if the given line is invalid or is first line
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5rects3forSaySo6CGRectVGSo8_NSRangeV_tF":{"name":"rects(for:)","abstract":"Returns the rectangles for line fragments spanned by the range. Based on the span of the range,","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC9caretRect3forSo6CGRectVSi_tF":{"name":"caretRect(for:)","abstract":"
Returns the caret rectangle for given position in the editor content.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC4word2atSo18NSAttributedStringCSgSi_tF":{"name":"word(at:)","abstract":"Gets the word from text at given location in editor content
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17attributeRangeFor_2atSo8_NSRangeVSgSo21NSAttributedStringKeya_SitF":{"name":"attributeRangeFor(_:at:)","abstract":"Gets the full range of attribute at given location.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14deleteBackwardyyF":{"name":"deleteBackward()","abstract":"Deletes text backwards
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16insertAttachment2in10attachmentySo8_NSRangeV_AA0E0CtF":{"name":"insertAttachment(in:attachment:)","abstract":"Inserts an Attachment
in the EditorView
.
Sets the focus in the EditorView
Makes the EditorView
lose focus.
Makes the EditorView
scroll to given range such that it is visible. No-op if the range is already visible.
Makes the EditorView
scroll to given range such that it is visible. No-op if the range is already visible.
Gets the contents within the Editor
.
Transforms EditorContent
into given type. This function can also be used to encode content into a different type for e.g. encoding the contents to JSON. Encoding","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_So18NSAttributedStringCtF":{"name":"replaceCharacters(in:with:)","abstract":"
Replaces the given range of content with the attributedString provided.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_SStF":{"name":"replaceCharacters(in:with:)","abstract":"Replaces the characters in the given range with the string provided.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16appendCharactersyySo18NSAttributedStringCF":{"name":"appendCharacters(_:)","abstract":"Appends the given attributed text to the end of content in EditorView
.
Appends the given attributed text to the end of content in EditorView
.
Registers the given text processor with the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19unregisterProcessoryyAA14TextProcessing_pF":{"name":"unregisterProcessor(_:)","abstract":"Unregisters the given text processor from the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18registerProcessorsyySayAA14TextProcessing_pGF":{"name":"registerProcessors(_:)","abstract":"Registers the given text processors with the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20unregisterProcessorsyySayAA14TextProcessing_pGF":{"name":"unregisterProcessors(_:)","abstract":"Unregisters the given text processors from the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16registerCommandsyySayAA0B7Command_pGF":{"name":"registerCommands(_:)","abstract":"Registers the given commands with the Editor. Only registered commands can be executed if any is added to the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18unregisterCommandsyySayAA0B7Command_pGF":{"name":"unregisterCommands(_:)","abstract":"Unregisters the given commands from the Editor. When all commands are unregistered, any command can be executed on the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15registerCommandyyAA0bE0_pF":{"name":"registerCommand(_:)","abstract":"Registers the given command with the Editor. Only registered commands can be executed if any is added to the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17unregisterCommandyyAA0bE0_pF":{"name":"unregisterCommand(_:)","abstract":"Unregisters the given command from the Editor. When all commands are unregistered, any command can be executed on the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)canPerformAction:withSender:":{"name":"canPerformAction(_:withSender:)","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20canPerformMenuAction_10withSenderSb10ObjectiveC8SelectorV_ypSgtF":{"name":"canPerformMenuAction(_:withSender:)","abstract":"Determines if the given menu action can be invoked.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5paste16attributedString4intoSbSo012NSAttributedF0C_So8_NSRangeVtF":{"name":"paste(attributedString:into:)","abstract":"This method attempt to simulate the paste
method but with explicitly provided attributed string and insertion range.
Adds given attributes to the range provided. If the range already contains a value for an attribute being provided,","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16removeAttributes_2atySaySo21NSAttributedStringKeyaG_So8_NSRangeVtF":{"name":"removeAttributes(_:at:)","abstract":"
Removes the given attributes from the range provided. If the attribute does not exist in the range, it will be a no-op.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12addAttribute_5value2atySo21NSAttributedStringKeya_ypSo8_NSRangeVtF":{"name":"addAttribute(_:value:at:)","abstract":"Adds given attribute to the range provided. If the attribute already exists in the range, it will be overwritten with the new value provided here.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15removeAttribute_2atySo21NSAttributedStringKeya_So8_NSRangeVtF":{"name":"removeAttribute(_:at:)","abstract":"Removes the attribute from given range. If the attribute does not exist in the range, it is a no-op.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16resolveAsyncTextyyF":{"name":"resolveAsyncText()","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19isCommandRegisteredySbAA0E4NameVF":{"name":"isCommandRegistered(_:)","abstract":"Determines if the given command can be executed on the current editor. The command is allowed to be executed if","parent_name":"EditorView"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"
Background color
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC013roundedCornerC0AA07RoundedeC0Ovp":{"name":"roundedCornerStyle","abstract":"Rounding style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6borderAA06BorderC0CSgvp":{"name":"border","abstract":"Optional border style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6shadowAA06ShadowC0CSgvp":{"name":"shadow","abstract":"Optional shadow style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC18hasSquaredOffJoinsSbvp":{"name":"hasSquaredOffJoins","abstract":"Determines if the background has squared off joins at the point of wrapping of content.","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC10heightModeAA0bE0Ovp":{"name":"heightMode","abstract":"
Defines if the background should be drawn based on height of text range with style, or that of the height of line fragment containing","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC9widthModeAA0bE0Ovp":{"name":"widthMode","abstract":"
Defines if the background should be drawn based on width of text range with style, or that of the entire width of line fragment containing","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6insetsSo12UIEdgeInsetsVvp":{"name":"insets","abstract":"
Insets for drawn background. Defaults to .zero
Undocumented
","parent_name":"BackgroundStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"Color of border
","parent_name":"BorderStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC9lineWidth14CoreFoundation7CGFloatVvp":{"name":"lineWidth","abstract":"Width of the border
","parent_name":"BorderStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC9lineWidth5colorAC14CoreFoundation7CGFloatV_So7UIColorCtcfc":{"name":"init(lineWidth:color:)","abstract":"Undocumented
","parent_name":"BorderStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"Color of the shadow
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC6offsetSo6CGSizeVvp":{"name":"offset","abstract":"Shadow offset
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC4blur14CoreFoundation7CGFloatVvp":{"name":"blur","abstract":"Shadow blur
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC5color6offset4blurACSo7UIColorC_So6CGSizeV14CoreFoundation7CGFloatVtcfc":{"name":"init(color:offset:blur:)","abstract":"Undocumented
","parent_name":"ShadowStyle"},"Classes/Attachment.html#/s:6Proton10AttachmentC18selectBeforeDeleteSbvp":{"name":"selectBeforeDelete","abstract":"Governs if the attachment should be selected before being deleted. When true
, tapping the backspace key the first time on range containing Attachment
will only","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6stringSo18NSAttributedStringCvp":{"name":"string","abstract":"
Attributed string representation of the Attachment
. This can be used directly to replace a range of text in EditorView
Name of the content contained within the Attachment
Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC19containerEditorViewAA0dE0CSgvp":{"name":"containerEditorView","abstract":"EditorView
containing this attachment
Offsets for the attachment. Can be used to align attachment with the text. Defaults to .zero
Name of the content for the EditorView
Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC15containerBoundsSo6CGRectVSgvp":{"name":"containerBounds","abstract":"Bounds of the container
","parent_name":"Attachment"},"Classes/Attachment.html#/c:@M@Proton@objc(cs)Attachment(py)bounds":{"name":"bounds","abstract":"The bounds rectangle, which describes the attachment’s location and size in its own coordinate system.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC5imageAcA0B5ImageV_tcfc":{"name":"init(image:)","abstract":"Initializes an attachment with the image provided.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC_4sizeAcA0B15TypeIdentifying_AA013EditorContentE0So6UIViewCXc_AA0B4SizeOtcfc":{"name":"init(_:size:)","abstract":"Initializes the attachment with the given content view
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC15didChangeBounds_03oldE0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","abstract":"Causes invalidation of layout of the attachment when the containing view bounds are changed
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC19removeFromContaineryyF":{"name":"removeFromContainer()","abstract":"Removes this attachment from the EditorView
it is contained in.
Range of this attachment in it’s container
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC32addedAttributesOnContainingRange16rangeInContainer10attributesySo8_NSRangeV_SDySo21NSAttributedStringKeyaypGtF":{"name":"addedAttributesOnContainingRange(rangeInContainer:attributes:)","abstract":"Invoked when attributes are added in the containing EditorView
in the range of string in which this attachment is contained.
Returns the calculated bounds for the attachment based on size rule and content view provided during initialization.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6update4withyAA0B5ImageV_tF":{"name":"update(with:)","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6update_4sizeyAA0B15TypeIdentifying_AA013EditorContentF0So6UIViewCXc_AA0B4SizeOtF":{"name":"update(_:size:)","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC40getFullTextRangeIdentificationAttributesSDySo21NSAttributedStringKeyaypGyF":{"name":"getFullTextRangeIdentificationAttributes()","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC16invalidateLayoutyyF":{"name":"invalidateLayout()","abstract":"Invalidates the current layout and triggers a layout update.
","parent_name":"Attachment"},"Classes/Attachment.html":{"name":"Attachment","abstract":"An attachment can be used as a container for any view object. Based on the AttachmentSize
provided, the attachment automatically renders itself alongside the text in EditorView
."},"Classes/ShadowStyle.html":{"name":"ShadowStyle","abstract":"
Shadow style for backgroundStyle
attribute
Border style for backgroundStyle
attribute
Style for background color attribute. Adding backgroundStyle
attribute will add border, background and shadow"},"Classes/EditorView.html":{"name":"EditorView","abstract":"
A scrollable, multiline text region capable of resizing itself based of the height of the content. Maximum height of EditorView
"},"Classes/EditorViewContext.html":{"name":"EditorViewContext","abstract":"
Describes the context for the EditorView
. A context is used to execute the commands using EditorCommandExecutor
. In a typical scenario, where there are"},"Classes/AttributesToggleCommand.html":{"name":"AttributesToggleCommand","abstract":"
Editor command that toggles given attributes in selected range in the Editor.
"},"Classes/BoldCommand.html":{"name":"BoldCommand","abstract":"Editor command that toggles Bold attribute to the selected range in the Editor.
"},"Classes/FontTraitToggleCommand.html":{"name":"FontTraitToggleCommand","abstract":"Editor command that toggles given font trait to the selected range in the Editor.
"},"Classes/ItalicsCommand.html":{"name":"ItalicsCommand","abstract":"Editor command that toggles Italics attribute to the selected range in the Editor.
"},"Classes/ListCommand.html":{"name":"ListCommand","abstract":"Command that can be used to toggle list attributes of selected range of text."},"Classes/ListIndentCommand.html":{"name":"ListIndentCommand","abstract":"
Command that can be used to toggle list indentation of selected range of text.
"},"Classes/ListOutdentCommand.html":{"name":"ListOutdentCommand","abstract":"Command that can be used to toggle list indentation of selected range of text.
"},"Classes/StrikethroughCommand.html":{"name":"StrikethroughCommand","abstract":"Undocumented
"},"Classes/UnderlineCommand.html":{"name":"UnderlineCommand","abstract":"Undocumented
"},"Classes/EditorCommandExecutor.html":{"name":"EditorCommandExecutor","abstract":"EditorCommandExecutor
manages all the EditorView
in the main EditorView
. Sub editors may have been added as Attachment
in the EditorView
."},"Classes/GridCell.html":{"name":"GridCell","abstract":"
Denotes a cell in the GridView
A view that provides a tabular structure where each cell is an EditorView
."},"Classes/ListTextProcessor.html":{"name":"ListTextProcessor","abstract":"
Text process capable of processing keyboard inputs specific to lists. ListTextProcessor
only works after a range of text"},"Classes.html":{"name":"Classes","abstract":"
The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}} \ No newline at end of file diff --git a/docs/docsets/Proton.docset/Contents/Resources/Documents/undocumented.json b/docs/docsets/Proton.docset/Contents/Resources/Documents/undocumented.json index 713783b4..30ca0f82 100644 --- a/docs/docsets/Proton.docset/Contents/Resources/Documents/undocumented.json +++ b/docs/docsets/Proton.docset/Contents/Resources/Documents/undocumented.json @@ -30,25 +30,39 @@ }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Attachment/Attachment.swift", - "line": 157, + "line": 77, + "symbol": "Attachment.contentEditors", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Attachment/Attachment.swift", + "line": 163, "symbol": "Attachment.contentView", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Attachment/Attachment.swift", - "line": 410, + "line": 417, "symbol": "Attachment.update(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Attachment/Attachment.swift", - "line": 418, + "line": 425, "symbol": "Attachment.update(_:size:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, + { + "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Attachment/Attachment.swift", + "line": 431, + "symbol": "Attachment.getFullTextRangeIdentificationAttributes()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Attachment/Focusable.swift", "line": 28, @@ -224,6 +238,13 @@ "symbol_kind": "source.lang.swift.decl.associatedtype", "warning": "undocumented" }, + { + "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Decoding/EditorContentDecoding.swift", + "line": 38, + "symbol": "EditorContentDecoding.DecodingContext", + "symbol_kind": "source.lang.swift.decl.associatedtype", + "warning": "undocumented" + }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorContent.swift", "line": 27, @@ -422,99 +443,120 @@ }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 120, + "line": 55, + "symbol": "AttachmentContentIdentifier.openingID", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", + "line": 56, + "symbol": "AttachmentContentIdentifier.closingID", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", + "line": 135, "symbol": "EditorView.textInteractions", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 125, + "line": 140, "symbol": "EditorView.textViewGestures", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 130, + "line": 145, "symbol": "EditorView.textDragInteractionEnabled", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 135, + "line": 150, "symbol": "EditorView.bounds", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 209, + "line": 224, "symbol": "EditorView.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 228, + "line": 243, "symbol": "EditorView.selectedTextRange", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 248, + "line": 263, "symbol": "EditorView.verticalScrollIndicatorInsets", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 253, + "line": 268, "symbol": "EditorView.keyboardDismissMode", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 258, + "line": 273, "symbol": "EditorView.isScrollEnabled", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 401, + "line": 416, "symbol": "EditorView.selectedRange", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 643, + "line": 672, "symbol": "EditorView.setAttributes(_:at:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 761, - "symbol": "EditorView.deleteBackward()", + "line": 992, + "symbol": "EditorView.canPerformAction(_:withSender:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 922, - "symbol": "EditorView.canPerformAction(_:withSender:)", + "line": 1231, + "symbol": "EditorView.resolveAsyncText()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 1157, - "symbol": "EditorView.resolveAsyncText()", + "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorViewDelegate.swift", + "line": 89, + "symbol": "EditorViewDelegate.editor(_:didLayout:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorViewDelegate.swift", + "line": 102, + "symbol": "EditorViewDelegate.editor(_:didLayout:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, @@ -994,6 +1036,13 @@ "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, + { + "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Helpers/NSAttributedString+Content.swift", + "line": 31, + "symbol": "NSAttributedString.addingAttributes(_:to:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Helpers/NSRangeExtensions.swift", "line": 31, diff --git a/docs/docsets/Proton.docset/Contents/Resources/docSet.dsidx b/docs/docsets/Proton.docset/Contents/Resources/docSet.dsidx index 90ecf99d..85d054c3 100644 Binary files a/docs/docsets/Proton.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/Proton.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/Proton.tgz b/docs/docsets/Proton.tgz index a79b080b..e61960db 100644 Binary files a/docs/docsets/Proton.tgz and b/docs/docsets/Proton.tgz differ diff --git a/docs/index.html b/docs/index.html index 67444597..e3fa4497 100644 --- a/docs/index.html +++ b/docs/index.html @@ -523,7 +523,7 @@Undocumented
"},"Typealiases.html#/s:6Proton14AttachmentViewa":{"name":"AttachmentView","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton25AttachmentViewIdentifyinga":{"name":"AttachmentViewIdentifying","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton22TextProcessingPrioritya":{"name":"TextProcessingPriority","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton9Processeda":{"name":"Processed","abstract":"Undocumented
"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5colorSo7UIColorCvp":{"name":"color","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5color5widthAESo7UIColorC_14CoreFoundation7CGFloatVtcfc":{"name":"init(color:width:)","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html":{"name":"BorderStyle","abstract":"Border style for individual cells. This may be used to override the style provided in the GridStyle
for individual cells
Default background color for the cell.
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV9textColorSo7UIColorCSgvp":{"name":"textColor","abstract":"Default text color for the cell
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV4fontSo6UIFontCSgvp":{"name":"font","abstract":"Default font for the cell
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV06borderD0AC06BorderD0VSgvp":{"name":"borderStyle","abstract":"Undocumented
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV15backgroundColor04textF04font06borderD0ACSo7UIColorCSg_AJSo6UIFontCSgAC06BorderD0VSgtcfc":{"name":"init(backgroundColor:textColor:font:borderStyle:)","abstract":"Undocumented
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV6merged5style5otherA2C_ACtFZ":{"name":"merged(style:other:)","abstract":"Creates a merged styles from given styles with precedence to the first style and any missing values used from the second style
","parent_name":"GridCellStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderColorSo7UIColorCvp":{"name":"borderColor","abstract":"Border color for grid
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderWidth14CoreFoundation7CGFloatVvp":{"name":"borderWidth","abstract":"Border width for the grid
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV7defaultACvpZ":{"name":"default","abstract":"Default style
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderColor0D5WidthACSo7UIColorC_14CoreFoundation7CGFloatVtcfc":{"name":"init(borderColor:borderWidth:)","abstract":"Undocumented
","parent_name":"GridStyle"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV5styleAA0B5StyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV23boundsLimitShadowColorsAA08GradientG0Vvp":{"name":"boundsLimitShadowColors","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV07columnsC0SayAA0b6ColumnC0VGvp":{"name":"columnsConfiguration","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV04rowsC0SayAA0b3RowC0VGvp":{"name":"rowsConfiguration","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV20collapsedColumnWidth14CoreFoundation7CGFloatVvp":{"name":"collapsedColumnWidth","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV18collapsedRowHeight14CoreFoundation7CGFloatVvp":{"name":"collapsedRowHeight","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV07columnsC004rowsC05style23boundsLimitShadowColors20collapsedColumnWidth0K9RowHeightACSayAA0blC0VG_SayAA0bnC0VGAA0B5StyleVAA08GradientJ0V14CoreFoundation7CGFloatVAVtcfc":{"name":"init(columnsConfiguration:rowsConfiguration:style:boundsLimitShadowColors:collapsedColumnWidth:collapsedRowHeight:)","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV15numberOfColumnsSivp":{"name":"numberOfColumns","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV12numberOfRowsSivp":{"name":"numberOfRows","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV7primarySo7UIColorCvp":{"name":"primary","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV9secondarySo7UIColorCvp":{"name":"secondary","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV7primary9secondaryACSo7UIColorC_AGtcfc":{"name":"init(primary:secondary:)","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV13initialHeight14CoreFoundation7CGFloatVvp":{"name":"initialHeight","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV5styleAA0B9CellStyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV13initialHeight5styleAC14CoreFoundation7CGFloatV_AA0B9CellStyleVtcfc":{"name":"init(initialHeight:style:)","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5widthAA0bC5WidthOvp":{"name":"width","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5styleAA0B9CellStyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5width5styleAcA0bC5WidthO_AA0B9CellStyleVtcfc":{"name":"init(width:style:)","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingV11EncodedTypea":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingVyACyxGqd__c11EncodedTypeQyd__RszAA0eF0Rd__lufc":{"name":"init(_:)","abstract":"Initializes the Encoder
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingV6encode4name4viewxSo08PREditorD4NameC_So6UIViewCtF":{"name":"encode(name:view:)","abstract":"Encodes contents based on concrete encoder provided during initialization
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingV11EncodedTypea":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AnyEditorTextEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingVyACyxGqd__c11EncodedTypeQyd__RszAA0cdE0Rd__lufc":{"name":"init(_:)","abstract":"Initializes the Encoder
","parent_name":"AnyEditorTextEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingV6encode4name6stringxSo19PREditorContentNameC_So18NSAttributedStringCtF":{"name":"encode(name:string:)","abstract":"Encodes contents based on concrete encoder provided during initialization
","parent_name":"AnyEditorTextEncoding"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV11indentation14CoreFoundation7CGFloatVvp":{"name":"indentation","abstract":"Indentation of line
","parent_name":"LineFormatting"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV13spacingBefore14CoreFoundation7CGFloatVvp":{"name":"spacingBefore","abstract":"Vertical spacing before the line
","parent_name":"LineFormatting"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV11indentation13spacingBeforeAC14CoreFoundation7CGFloatV_AHtcfc":{"name":"init(indentation:spacingBefore:)","abstract":"Initializes
","parent_name":"LineFormatting"},"Structs/EditorLine.html#/s:6Proton10EditorLineV4textSo18NSAttributedStringCvp":{"name":"text","abstract":"Text contained in the current line.
","parent_name":"EditorLine"},"Structs/EditorLine.html#/s:6Proton10EditorLineV5rangeSo8_NSRangeVvp":{"name":"range","abstract":"Range of text in the EditorView
for the current line.
Determines if the current line starts with given text.","parent_name":"EditorLine"},"Structs/EditorLine.html#/s:6Proton10EditorLineV8endsWithySbSSF":{"name":"endsWith(_:)","abstract":"
Determines if the current line ends with given text.","parent_name":"EditorLine"},"Structs/AttachmentContentIdentifier.html#/s:6Proton27AttachmentContentIdentifierV9openingIDSo18NSAttributedStringCvp":{"name":"openingID","abstract":"
Undocumented
","parent_name":"AttachmentContentIdentifier"},"Structs/AttachmentContentIdentifier.html#/s:6Proton27AttachmentContentIdentifierV9closingIDSo18NSAttributedStringCvp":{"name":"closingID","abstract":"Undocumented
","parent_name":"AttachmentContentIdentifier"},"Structs/EditorContent.html#/s:6Proton13EditorContentV4typeAA0bC4TypeOvp":{"name":"type","abstract":"Type of EditorContent
Range within the Editor
for this content
Name for the content within the Editor. All the content (text and attachments) must have","parent_name":"EditorContent"},"Structs/AnyEditorContentDecoding.html#/s:6Proton24AnyEditorContentDecodingVyACyxq_Gqd__c12TypeToDecodeQyd__Rsz0E7ContextQyd__Rs_AA0cdE0Rd__lufc":{"name":"init(_:)","abstract":"
Initializes AnyEditorContentDecoding
","parent_name":"AnyEditorContentDecoding"},"Structs/AnyEditorContentDecoding.html#/s:6Proton24AnyEditorContentDecodingV6decode4mode7maxSize5value7contextSo18NSAttributedStringCAA0cD4ModeO_So6CGSizeVxq_tF":{"name":"decode(mode:maxSize:value:context:)","abstract":"Decodes the given value to NSAttributedString
Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/AnyAttributeDecoding.html#/s:6Proton20AnyAttributeDecodingVyACyxGqd__c12TypeToDecodeQyd__RszAA010AttributesD0Rd__lufc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/AnyAttributeDecoding.html#/s:6Proton20AnyAttributeDecodingV6decodeySDySo21NSAttributedStringKeyaypGxF":{"name":"decode(_:)","abstract":"Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/SquareBulletSequenceGenerator.html#/s:6Proton29SquareBulletSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"SquareBulletSequenceGenerator"},"Structs/SquareBulletSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"SquareBulletSequenceGenerator"},"Structs/DiamondBulletSequenceGenerator.html#/s:6Proton30DiamondBulletSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"DiamondBulletSequenceGenerator"},"Structs/DiamondBulletSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"DiamondBulletSequenceGenerator"},"Structs/NumericSequenceGenerator.html#/s:6Proton24NumericSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"NumericSequenceGenerator"},"Structs/NumericSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"NumericSequenceGenerator"},"Structs/ListParser.html#/s:6Proton10ListParserV5parse4list6indentSo18NSAttributedStringCSayAA0B4ItemVG_14CoreFoundation7CGFloatVtFZ":{"name":"parse(list:indent:)","abstract":"Parses an array of list items into an NSAttributedString
representation. NewLines
are automatically added between each list item in the attributed string representation.
Parses NSAttributedString to list items
","parent_name":"ListParser"},"Structs/ListItem.html#/s:6Proton8ListItemV4textSo18NSAttributedStringCvp":{"name":"text","abstract":"Text of the list item. All attributes are preserved as is.
","parent_name":"ListItem"},"Structs/ListItem.html#/s:6Proton8ListItemV5levelSivp":{"name":"level","abstract":"Level of the list item. This is used with indent to get paragraphStyle
to be applied with appropriate indentation of the list items.
Attribute value of the list item.
","parent_name":"ListItem"},"Structs/ListItem.html#/s:6Proton8ListItemV4text5level14attributeValueACSo18NSAttributedStringC_Siyptcfc":{"name":"init(text:level:attributeValue:)","abstract":"Creates a ListItem
Name of the command. Must be unique across different types of commands.
","parent_name":"CommandName"},"Structs/CommandName.html#/s:6Proton11CommandNameVyACSScfc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"CommandName"},"Structs/CommandName.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"CommandName"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4nameSo19PREditorContentNameCvp":{"name":"name","abstract":"Content name for the image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV5imageSo7UIImageCvp":{"name":"image","abstract":"Image content
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4sizeSo6CGSizeVvp":{"name":"size","abstract":"Size of the image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4typeAA0B4TypeOvp":{"name":"type","abstract":"Denotes if the image is block content or an inline
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4name5image4size4typeACSo19PREditorContentNameC_So7UIImageCSo6CGSizeVAA0B4TypeOtcfc":{"name":"init(name:image:size:type:)","abstract":"Initializes the Block Content image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html":{"name":"AttachmentImage","abstract":"Describes an image for which can be used in an Attachment
Identifies an EditorCommand or a RendererCommand
"},"Structs/ListItem.html":{"name":"ListItem","abstract":"Represents an item in the list. This structure may be used to create NSAttributedString
from items in an array of ListItem
. Alternatively, NSAttributedString
may also be parsed to get an array of ListItem
s.
Provides helper function to convert between NSAttributedString
and [ListItem]
Simple numeric sequence generator.
"},"Structs/DiamondBulletSequenceGenerator.html":{"name":"DiamondBulletSequenceGenerator","abstract":"Simple bullet sequence generator that returns a diamond symbol.
"},"Structs/SquareBulletSequenceGenerator.html":{"name":"SquareBulletSequenceGenerator","abstract":"Simple bullet sequence generator that returns a square symbol.
"},"Structs/AnyAttributeDecoding.html":{"name":"AnyAttributeDecoding","abstract":"A type-erased implementation of AttributesDecoding
A type-erased implementation of EditorContentDecoding
Defines a content type for Editor
. This may be used to serialize the contents of an Editor
via enumerating through the contents of the Editor
.
Describes opening and closing separators for EditorView
‘getFullAttributedText(:)
function.
Representation of a line of text in EditorView
. A line is defined as a single fragment starting from the beginning of"},"Structs/LineFormatting.html":{"name":"LineFormatting","abstract":"
Describes the formatting of a line of text. While general purpose in nature, this is"},"Structs/AnyEditorTextEncoding.html":{"name":"AnyEditorTextEncoding","abstract":"
/// A type-erased implementation of EditorTextEncoding
A type-erased implementation of AttachmentEncoding
.
Undocumented
"},"Structs/GridRowConfiguration.html":{"name":"GridRowConfiguration","abstract":"Undocumented
"},"Structs/GradientColors.html":{"name":"GradientColors","abstract":"Undocumented
"},"Structs/GridConfiguration.html":{"name":"GridConfiguration","abstract":"Undocumented
"},"Structs/GridStyle.html":{"name":"GridStyle","abstract":"Style configuration for the grid
"},"Structs/GridCellStyle.html":{"name":"GridCellStyle","abstract":"Style configuration for the GridCell
Name of the TextProcessor
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP8prioritySivp":{"name":"priority","abstract":"Priority of the TextProcessor. An EditorView
can have multiple TextProcessors
registered. These will be executed in the order of Priority
.
Determines if the text should be changed in the editor.
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP11willProcess07deletedB008insertedB0ySo18NSAttributedStringC_AHtF":{"name":"willProcess(deletedText:insertedText:)","abstract":"Invoked before changes are processed by the editor.
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP7process6editor5range14changeInLengthSbAA10EditorViewC_So8_NSRangeVSitF":{"name":"process(editor:range:changeInLength:)","abstract":"Allows to change attributes and text in the EditorView
as the text is changed.
Allows to change attributes and text in the EditorView
as the text is changed.
Fired when processing has been interrupted by another TextProcessor
running in the same pass. This allows TextProcessor
to revert","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP20selectedRangeChanged6editor03oldE003newE0yAA10EditorViewC_So8_NSRangeVSgALtF":{"name":"selectedRangeChanged(editor:oldRange:newRange:)","abstract":"
Notifies the processor that the selected range has changed in the EditorView due to a reason other than typing text","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP10didProcess6editoryAA10EditorViewC_tF":{"name":"didProcess(editor:)","abstract":"
Invoked after the text has been processed in the Editor
.
Invoked when EditorView
within the cell receives focus
Invoked when EditorView
within the cell loses focus
Invoked when tap event occurs within the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_20didChangeSelectionAt10attributes11contentType2inyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCAA0B4CellCtF":{"name":"gridView(_:didChangeSelectionAt:attributes:contentType:in:)","abstract":"Invoked on selection changes with in the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_15didChangeBounds2inyAA0bC0C_So6CGRectVAA0B4CellCtF":{"name":"gridView(_:didChangeBounds:in:)","abstract":"Invoked on change of bounds of the Editor within the cell
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_14didSelectCellsyAA0bC0C_SayAA0B4CellCGtF":{"name":"gridView(_:didSelectCells:)","abstract":"Invoked when selection of cells is changed.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_16didUnselectCellsyAA0bC0C_SayAA0B4CellCGtF":{"name":"gridView(_:didUnselectCells:)","abstract":"Invoked when selection of cells is changed.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_13didReceiveKey2at2inyAA0bC0C_AA06EditorH0OSo8_NSRangeVAA0B4CellCtF":{"name":"gridView(_:didReceiveKey:at:in:)","abstract":"Invoked when special keys are intercepted in the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_23shouldChangeColumnWidth3forSbAA0bC0C_14CoreFoundation7CGFloatVSitF":{"name":"gridView(_:shouldChangeColumnWidth:for:)","abstract":"Invoked when a column in GridView
is resized.
Undocumented
","parent_name":"GridViewDelegate"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP1TQa":{"name":"T","abstract":"Undocumented
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP12textEncodersSDySo08PREditorC4NameCAA03AnyB12TextEncodingVy1TQzGGvp":{"name":"textEncoders","abstract":"Encoders for text content i.e. NSAttributedString based content
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP18attachmentEncodersSDySo08PREditorC4NameCAA03AnybC18AttachmentEncodingVy1TQzGGvp":{"name":"attachmentEncoders","abstract":"Encoders for attachment types
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP6encodey1TQzSgAA0bC0VF":{"name":"encode(_:)","abstract":"Encodes the given content.
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoding.html#/s:6Proton21EditorContentEncodingP11EncodedTypeQa":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"EditorContentEncoding"},"Protocols/EditorContentEncoding.html#/s:6Proton21EditorContentEncodingP6encodey11EncodedTypeQzSgAA0bC0VF":{"name":"encode(_:)","abstract":"Undocumented
","parent_name":"EditorContentEncoding"},"Protocols/AttachmentEncoding.html#/s:6Proton18AttachmentEncodingP11EncodedTypeQa":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AttachmentEncoding"},"Protocols/AttachmentEncoding.html#/s:6Proton18AttachmentEncodingP6encode4name4view11EncodedTypeQzSo19PREditorContentNameC_So6UIViewCtF":{"name":"encode(name:view:)","abstract":"Encodes given Attachment
content view to given type
Undocumented
","parent_name":"EditorTextEncoding"},"Protocols/EditorTextEncoding.html#/s:6Proton18EditorTextEncodingP6encode4name6string11EncodedTypeQzSo19PREditorContentNameC_So18NSAttributedStringCtF":{"name":"encode(name:string:)","abstract":"Encodes the given attributed string to EncodedType
Identifies a command. This value is used to maintain unique registrations of commands in an Editor. Adding a command with the same name","parent_name":"EditorCommand"},"Protocols/EditorCommand.html#/s:6Proton13EditorCommandP10canExecute2onSbAA0B4ViewC_tF":{"name":"canExecute(on:)","abstract":"
Determines if the current command can be executed on the given EditorView
. When a command is executed using EditorCommandExecutor
, it ensures","parent_name":"EditorCommand"},"Protocols/EditorCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","abstract":"
Execute the command on the given EditorView
. You may use selectedRange
property of EditorView
if the command operates on","parent_name":"EditorCommand"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_12shouldHandle2at7handledyAA0bC0C_AA0B3KeyOSo8_NSRangeVSbztF":{"name":"editor(_:shouldHandle:at:handled:)","abstract":"
Invoked when a special key like enter
, tab
etc. is intercepted in the Editor
Invoked when a special key like enter
, tab
etc. is entered in the Editor
Invoked when editor receives focus.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didLoseFocusFrom:)","abstract":"Invoked when editor loses the focus.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_15didChangeTextAtyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didChangeTextAt:)","abstract":"Invoked when text is changed in editor.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF":{"name":"editor(_:didChangeSelectionAt:attributes:contentType:)","abstract":"Invoked when the selection range changes in the editor as a result of moving the cursor using keys/mouse or taps.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_20didExecuteProcessors2atyAA0bC0C_SayAA14TextProcessing_pGSo8_NSRangeVtF":{"name":"editor(_:didExecuteProcessors:at:)","abstract":"Invoked when text processors are executed in the editor.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_13didChangeSize08previousH0yAA0bC0C_So6CGSizeVAJtF":{"name":"editor(_:didChangeSize:previousSize:)","abstract":"Invoked when the size of EditorView changes.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF":{"name":"editor(_:didTapAtLocation:characterRange:)","abstract":"Invoked when a location within the EditorView
is tapped.
Undocumented
","parent_name":"EditorViewDelegate"},"Protocols/BoundsObserving.html#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","abstract":"Lets the observer know that bounds of current object have changed
","parent_name":"BoundsObserving"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP6editorAA0bD0Cvp":{"name":"editor","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP14attributedTextSo18NSAttributedStringCvp":{"name":"attributedText","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP9maxHeightAA0bF0Ovp":{"name":"maxHeight","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP8delegateAA0bD8Delegate_pSgvp":{"name":"delegate","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP20becomeFirstResponderSbyF":{"name":"becomeFirstResponder()","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewPAAE8setFocusyyF":{"name":"setFocus()","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/AttachmentTypeIdentifying.html#/s:6Proton25AttachmentTypeIdentifyingP4typeAA0bC0Ovp":{"name":"type","abstract":"Undocumented
","parent_name":"AttachmentTypeIdentifying"},"Protocols/EditorContentIdentifying.html#/s:6Proton24EditorContentIdentifyingP4nameSo08PREditorC4NameCvp":{"name":"name","abstract":"Undocumented
","parent_name":"EditorContentIdentifying"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP12TypeToDecodeQa":{"name":"TypeToDecode","abstract":"Undocumented
","parent_name":"EditorContentDecoding"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP0D7ContextQa":{"name":"DecodingContext","abstract":"Undocumented
","parent_name":"EditorContentDecoding"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP6decode4mode7maxSize5value7contextSo18NSAttributedStringCAA0bC4ModeO_So6CGSizeV12TypeToDecodeQz0D7ContextQztF":{"name":"decode(mode:maxSize:value:context:)","abstract":"Decodes the given value to NSAttributedString
Undocumented
","parent_name":"AttributesDecoding"},"Protocols/AttributesDecoding.html#/s:6Proton18AttributesDecodingP4nameSSvp":{"name":"name","abstract":"Undocumented
","parent_name":"AttributesDecoding"},"Protocols/AttributesDecoding.html#/s:6Proton18AttributesDecodingP6decodeySDySo21NSAttributedStringKeyaypG12TypeToDecodeQzF":{"name":"decode(_:)","abstract":"Undocumented
","parent_name":"AttributesDecoding"},"Protocols/SequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","abstract":"Returns a value representing the given index.
","parent_name":"SequenceGenerator"},"Protocols/EditorListFormattingProvider.html#/s:6Proton28EditorListFormattingProviderP08listLineD0AA0gD0Vvp":{"name":"listLineFormatting","abstract":"Line formatting to be used for a list item.
","parent_name":"EditorListFormattingProvider"},"Protocols/EditorListFormattingProvider.html#/s:6Proton28EditorListFormattingProviderP17listLineMarkerFor6editor5index5level13previousLevel14attributeValueAA0cgH0OAA0B4ViewC_S3iypSgtF":{"name":"listLineMarkerFor(editor:index:level:previousLevel:attributeValue:)","abstract":"Returns the marker to be drawn for list item (bullet/number etc.) for given parameters.
","parent_name":"EditorListFormattingProvider"},"Protocols/Focusable.html#/s:6Proton9FocusableP8setFocusyyF":{"name":"setFocus()","abstract":"Undocumented
","parent_name":"Focusable"},"Protocols/AttachmentOffsetProviding.html#/s:6Proton25AttachmentOffsetProvidingP6offset3for2in20proposedLineFragment13glyphPosition14characterIndexSo7CGPointVAA0B0C_So15NSTextContainerCSo6CGRectVAKSitF":{"name":"offset(for:in:proposedLineFragment:glyphPosition:characterIndex:)","abstract":"Undocumented
","parent_name":"AttachmentOffsetProviding"},"Protocols/DynamicBoundsProviding.html#/s:6Proton22DynamicBoundsProvidingP7sizeFor10attachment13containerSize8lineRectSo6CGSizeVAA10AttachmentC_AISo6CGRectVtF":{"name":"sizeFor(attachment:containerSize:lineRect:)","abstract":"Undocumented
","parent_name":"DynamicBoundsProviding"},"Protocols/AsyncTextResolving.html#/s:6Proton18AsyncTextResolvingP4nameSSvp":{"name":"name","abstract":"Name of the Resolver. This name must be applied to the range of text that requires async resolution with attribute key: .asyncTextResolver
Resolves the string to a different representation
","parent_name":"AsyncTextResolving"},"Protocols/AsyncTextResolving.html":{"name":"AsyncTextResolving","abstract":"An object capable of resolving text asynchronously to another representation. New representation may contain change in attributes or the string itself.
"},"Protocols/DynamicBoundsProviding.html":{"name":"DynamicBoundsProviding","abstract":"Describes an object (typically attachment view) that may change size during the layout pass
"},"Protocols/AttachmentOffsetProviding.html":{"name":"AttachmentOffsetProviding","abstract":"Describes an object capable of providing offsets for the Attachment
. The value is used to offset the Attachment
when rendered alongside the text. This may"},"Protocols/Focusable.html":{"name":"Focusable","abstract":"
Describes an object capable of gaining focus.
"},"Protocols/EditorListFormattingProvider.html":{"name":"EditorListFormattingProvider","abstract":"Describes an object capable of providing style and formatting information for rendering lists in EditorView
.
Represents a Sequence generator that can return a value based on given index."},"Protocols/AttributesDecoding.html":{"name":"AttributesDecoding","abstract":"
An object capable of decoding attributes for use in NSAttributedString
An object capable of decoding the given type of content into NSAttributedString
for using in EditorView
or the RendererView
.
Identifies a content type within the Editor
Undocumented
"},"Protocols/EditorContentView.html":{"name":"EditorContentView","abstract":"Describes a view contained in Attachment
that contains a single EditorView
."},"Protocols/BoundsObserving.html":{"name":"BoundsObserving","abstract":"
Describes an object interested in observing the bounds of a view. Attachment
is BoundsObserving
and reacts to"},"Protocols/EditorViewDelegate.html":{"name":"EditorViewDelegate","abstract":"
Describes an object interested in listening to events raised from EditorView
"},"Protocols/EditorCommand.html":{"name":"EditorCommand","abstract":"Describes a command that can be executed on EditorView
. A command may be invoked directly on the editor
by providing an instance."},"Protocols/EditorTextEncoding.html":{"name":"EditorTextEncoding","abstract":"
Describes an encoder for a content type in Editor. This can be used in conjunction with AnyEditorTextEncoding
"},"Protocols/AttachmentEncoding.html":{"name":"AttachmentEncoding","abstract":"
Describes an object capable of encoding contents of at Attachment
An object capable of encoding EditorContent
to given type.
A generic encoder for encoding EditorContent
. You may create encoders for individual types of contents in the Editor
, and"},"Protocols/GridViewDelegate.html":{"name":"GridViewDelegate","abstract":"
An object capable of handing GridView
events
An object capable of intercepting and modifying the text and attributes in an EditorView
when registered with the EditorView
.
Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE4highSivpZ":{"name":"high","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE6mediumSivpZ":{"name":"medium","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE3lowSivpZ":{"name":"low","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/UITextRange.html#/s:So11UITextRangeC6ProtonE9toNSRange2inSo01_E0VSgSo0A5Input_p_tF":{"name":"toNSRange(in:)","abstract":"Converts this range to NSRange
. Returns nil if range cannot be converted.
Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE6isBoldSbvp":{"name":"isBold","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE9isItalicsSbvp":{"name":"isItalics","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE12isMonoSpacedSbvp":{"name":"isMonoSpaced","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE12isAppleEmojiSbvp":{"name":"isAppleEmoji","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE9textStyleSo0a4TextD0avp":{"name":"textStyle","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE21isNonDynamicTextStyleSbvp":{"name":"isNonDynamicTextStyle","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE8contains5traitSbSo0A24DescriptorSymbolicTraitsV_tF":{"name":"contains(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE7toggled5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"toggled(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE6adding5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"adding(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE8removing5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"removing(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/String.html#/s:SS6ProtonE11makeNSRange4fromSo01_C0VSnySS5IndexVG_tF":{"name":"makeNSRange(from:)","abstract":"Converts given Range to NSRange in this string.
","parent_name":"String"},"Extensions/String.html#/s:SS6ProtonE16rangeFromNSRange0B0SnySS5IndexVGSgSo01_D0V_tF":{"name":"rangeFromNSRange(range:)","abstract":"Created String Range from given NSRange. Returns nil if range cannot be converted.
","parent_name":"String"},"Extensions/String.html#/s:SS6ProtonE8rangesOf12characterSetSaySnySS5IndexVGG10Foundation09CharacterE0V_tF":{"name":"rangesOf(characterSet:)","abstract":"Returns ranges of given CharacterSet in this string.
","parent_name":"String"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE4zeroABvpZ":{"name":"zero","abstract":"Range with 0 location and length
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE19firstCharacterRangeABvp":{"name":"firstCharacterRange","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE18lastCharacterRangeABvp":{"name":"lastCharacterRange","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE12nextPositionABvp":{"name":"nextPosition","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE11endLocationSivp":{"name":"endLocation","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE11toTextRange9textInputSo06UITextE0CSgSo0hG0_p_tF":{"name":"toTextRange(textInput:)","abstract":"Converts the range to UITextRange
in given UITextInput
. Returns nil if the range is invalid in the UITextInput
.
Checks if the range is valid in given UITextInput
Shifts the range with given shift value
","parent_name":"NSRange"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonEyABSScfc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE9paragraphABvpZ":{"name":"paragraph","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE8viewOnlyABvpZ":{"name":"viewOnly","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE7newlineABvpZ":{"name":"newline","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE4textABvpZ":{"name":"text","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE7unknownABvpZ":{"name":"unknown","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/NSParagraphStyle.html#/s:So16NSParagraphStyleC6ProtonE016mutableParagraphB0So09NSMutableeB0Cvp":{"name":"mutableParagraphStyle","abstract":"Creates a mutable copy of current style
","parent_name":"NSParagraphStyle"},"Extensions/NSParagraphStyle.html#/s:So16NSParagraphStyleC6ProtonE14lineFormattingAC04LineE0Vvp":{"name":"lineFormatting","abstract":"Returns LineFormatting
based on current style
Applying this attribute makes the range of text act as a single block/unit.","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE16blockContentTypeABvpZ":{"name":"blockContentType","abstract":"
Identifies block based attributes. A block acts as a container for other content types. For e.g. a Paragraph is a block content","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE17inlineContentTypeABvpZ":{"name":"inlineContentType","abstract":"
Identifies inline content attributes. An inline acts as a content in another content types. For e.g. an emoji is an inline content","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE15backgroundStyleABvpZ":{"name":"backgroundStyle","abstract":"
Additional style attribute for background color. Using this attribute in addition to backgroundColor
attribute allows applying","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE8listItemABvpZ":{"name":"listItem","abstract":"
Attribute denoting the range as a list item. This attribute enables use of ListTextProcessor
to indent/outdent list","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE18skipNextListMarkerABvpZ":{"name":"skipNextListMarker","abstract":"
When applied to a new line char alongside listItem
attribute, skips the rendering of list marker on subsequent line.
Array of NSAttributedString.Key
that must be locked in the applied range.
Undocumented
","parent_name":"Key"},"Extensions/NSAttributedString/Key.html":{"name":"Key","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9asMutableSo019NSMutableAttributedB0Cvp":{"name":"asMutable","abstract":"Creates a mutable copy
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16addingAttributes_2toABSDySo0aB3KeyaypG_So8_NSRangeVSgtF":{"name":"addingAttributes(_:to:)","abstract":"Undocumented
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE17enumerateContents2ins11AnySequenceVyAC13EditorContentVGSo8_NSRangeVSg_tF":{"name":"enumerateContents(in:)","abstract":"Enumerates block contents in given range.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE23enumerateInlineContents2ins11AnySequenceVyAC13EditorContentVGSo8_NSRangeVSg_tF":{"name":"enumerateInlineContents(in:)","abstract":"Enumerates only inline content in given range.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16rangeOfCharacter4fromSo8_NSRangeVSg10Foundation0F3SetV_tF":{"name":"rangeOfCharacter(from:)","abstract":"Returns in range of CharacterSet from this string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9fullRangeSo8_NSRangeVvp":{"name":"fullRange","abstract":"Full range of this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16attachmentRangesSayAC10AttachmentC0D0_So8_NSRangeV5rangetGvp":{"name":"attachmentRanges","abstract":"Collection of all the attachments with containing ranges in this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE8rangeFor10attachmentSo8_NSRangeVSgAC10AttachmentC_tF":{"name":"rangeFor(attachment:)","abstract":"Range of given attachment in this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE8rangesOf12characterSetSaySo8_NSRangeVG10Foundation09CharacterG0V_tF":{"name":"rangesOf(characterSet:)","abstract":"Ranges of CharacterSet
in this attributed string.
Attributed substring in reverse direction.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE7rangeOf9attribute16startingLocation13reverseLookupSo8_NSRangeVSgSo0aB3Keya_SiSbtF":{"name":"rangeOf(attribute:startingLocation:reverseLookup:)","abstract":"Gets the next range of attribute starting at the given location in direction based on reverse lookup flag
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE7rangeOf9attribute2atSo8_NSRangeVSgSo0aB3Keya_SitF":{"name":"rangeOf(attribute:at:)","abstract":"Gets the complete range of attribute at the given location. The attribute is looked up in both forward and","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE14attributeValue3for2atxSgSo0aB3Keya_SitlF":{"name":"attributeValue(for:at:)","abstract":"
Gets the value of attribute at the given location, if present.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9substring4fromSSSo8_NSRangeV_tF":{"name":"substring(from:)","abstract":"Alternative to attributedSubstring(from:_).string
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html":{"name":"NSAttributedString"},"Extensions/NSParagraphStyle.html":{"name":"NSParagraphStyle"},"Extensions/EditorContentName.html":{"name":"EditorContentName"},"Extensions/NSRange.html":{"name":"NSRange"},"Extensions/String.html":{"name":"String"},"Extensions/UIFont.html":{"name":"UIFont"},"Extensions/UITextRange.html":{"name":"UITextRange"},"Extensions/TextProcessingPriority.html":{"name":"TextProcessingPriority","abstract":"
Undocumented
"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO5fixedyAC14CoreFoundation7CGFloatVcACmF":{"name":"fixed(_:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO10fractionalyAC14CoreFoundation7CGFloatVcACmF":{"name":"fractional(_:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO5value7basedOn14CoreFoundation7CGFloatVAH_tF":{"name":"value(basedOn:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridViewError.html#/s:6Proton13GridViewErrorO26failedToInsertInFrozenRowsyA2CmF":{"name":"failedToInsertInFrozenRows","abstract":"Undocumented
","parent_name":"GridViewError"},"Enums/GridViewError.html#/s:6Proton13GridViewErrorO29failedToInsertInFrozenColumnsyA2CmF":{"name":"failedToInsertInFrozenColumns","abstract":"Undocumented
","parent_name":"GridViewError"},"Enums/Indentation.html#/s:6Proton11IndentationO6indentyA2CmF":{"name":"indent","abstract":"Undocumented
","parent_name":"Indentation"},"Enums/Indentation.html#/s:6Proton11IndentationO7outdentyA2CmF":{"name":"outdent","abstract":"Undocumented
","parent_name":"Indentation"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO7defaultyA2CmF":{"name":"default","abstract":"Default controlled via autolayout.
","parent_name":"EditorHeight"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO3maxyAC14CoreFoundation7CGFloatVcACmF":{"name":"max(_:)","abstract":"Maximum height editor is allowed to grow to before it starts scrolling
","parent_name":"EditorHeight"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO8infiniteyA2CmF":{"name":"infinite","abstract":"Boundless height.
","parent_name":"EditorHeight"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO4textyACSo08PREditorC4NameC_So18NSAttributedStringCtcACmF":{"name":"text(name:attributedString:)","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO10attachmentyACSo08PREditorC4NameC_AA10AttachmentCSo6UIViewCAA0hD0OtcACmF":{"name":"attachment(name:attachment:contentView:type:)","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO8viewOnlyyA2CmF":{"name":"viewOnly","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/AttachmentType.html#/s:6Proton14AttachmentTypeO5blockyA2CmF":{"name":"block","abstract":"Undocumented
","parent_name":"AttachmentType"},"Enums/AttachmentType.html#/s:6Proton14AttachmentTypeO6inlineyA2CmF":{"name":"inline","abstract":"Undocumented
","parent_name":"AttachmentType"},"Enums/EditorContentMode.html#/s:6Proton17EditorContentModeO6editoryA2CmF":{"name":"editor","abstract":"Undocumented
","parent_name":"EditorContentMode"},"Enums/EditorContentMode.html#/s:6Proton17EditorContentModeO8rendereryA2CmF":{"name":"renderer","abstract":"Undocumented
","parent_name":"EditorContentMode"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO5enteryA2CmF":{"name":"enter","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO9backspaceyA2CmF":{"name":"backspace","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO3tabyA2CmF":{"name":"tab","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/ListLineMarker.html#/s:6Proton14ListLineMarkerO6stringyACSo18NSAttributedStringCcACmF":{"name":"string(_:)","abstract":"Undocumented
","parent_name":"ListLineMarker"},"Enums/ListLineMarker.html#/s:6Proton14ListLineMarkerO5imageyACSo7UIImageC_So6CGSizeVtcACmF":{"name":"image(_:size:)","abstract":"Undocumented
","parent_name":"ListLineMarker"},"Enums/BackgroundMode.html#/s:6Proton14BackgroundModeO9matchTextyA2CmF":{"name":"matchText","abstract":"Background matches the height/width of text
","parent_name":"BackgroundMode"},"Enums/BackgroundMode.html#/s:6Proton14BackgroundModeO9matchLineyA2CmF":{"name":"matchLine","abstract":"Background matches entire line irrespective of font height/used character width in the given line
","parent_name":"BackgroundMode"},"Enums/RoundedCornerStyle.html#/s:6Proton18RoundedCornerStyleO8absoluteyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"absolute(value:)","abstract":"Rounding based on an absolute value for corner radii
","parent_name":"RoundedCornerStyle"},"Enums/RoundedCornerStyle.html#/s:6Proton18RoundedCornerStyleO8relativeyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"relative(percent:)","abstract":"Rounding based on relative percent value of the content height. For e.g. 50% would provide a capsule appearance","parent_name":"RoundedCornerStyle"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO12matchContentyA2CmF":{"name":"matchContent","abstract":"
Matches the size of the content view of attachment. Content view must provide size to Attachment
using didChangeBounds(:)
.
Takes up full width of the containing EditorView
. Resizes automatically when size of the container changes for e.g. when device is rotated. Height is dynamic based on content.
Fixed width attachment irrespective of content size of the contained view. Height is dynamic based on content.
","parent_name":"AttachmentSize"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO5rangeyAC14CoreFoundation7CGFloatV_AGtcACmF":{"name":"range(minWidth:maxWidth:)","abstract":"Width of attachment is locked between the min and max. Height is dynamic based on content.
","parent_name":"AttachmentSize"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO7percentyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"percent(width:)","abstract":"Width in percent based on the size of containing EditorView
. Absolute value of width changes if the size of the container changes for e.g. when device is rotated. Height is dynamic based on content.
Undocumented
","parent_name":"AsyncTextResolvingResult"},"Enums/AsyncTextResolvingResult.html#/s:6Proton24AsyncTextResolvingResultO7discardyA2CmF":{"name":"discard","abstract":"Undocumented
","parent_name":"AsyncTextResolvingResult"},"Enums/AsyncTextResolvingResult.html":{"name":"AsyncTextResolvingResult","abstract":"Result type for async text resolution
"},"Enums/AttachmentSize.html":{"name":"AttachmentSize","abstract":"Rendering size of the Attachment
Rounding style for backgroundStyle
attribute
Defines the mode for height/width used for the background for the text
"},"Enums/ListLineMarker.html":{"name":"ListLineMarker","abstract":"Marker for the list item
"},"Enums/EditorKey.html":{"name":"EditorKey","abstract":"Undocumented
"},"Enums/EditorContentMode.html":{"name":"EditorContentMode","abstract":"Content mode for Editor
. This may be used while decoding the content for the Editor/Renderer to let the Decoder know"},"Enums/AttachmentType.html":{"name":"AttachmentType","abstract":"
Type of attachment
"},"Enums/EditorContentType.html":{"name":"EditorContentType","abstract":"Type of EditorContent
Defines the height for the Editor
"},"Enums/Indentation.html":{"name":"Indentation","abstract":"Undocumented
"},"Enums/GridViewError.html":{"name":"GridViewError","abstract":"Undocumented
"},"Enums/GridColumnWidth.html":{"name":"GridColumnWidth","abstract":"Undocumented
"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP4nameSSvp":{"name":"name","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton17ListTextProcessorCACycfc":{"name":"init()","abstract":"Initializes text processor.
","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton17ListTextProcessorC8prioritySivp":{"name":"priority","abstract":"Priority of the text processor.
","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP13shouldProcess_0deB2In011replacementB0SbAA10EditorViewC_So8_NSRangeVSStF":{"name":"shouldProcess(_:shouldProcessTextIn:replacementText:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP18processInterrupted6editor2atyAA10EditorViewC_So8_NSRangeVtF":{"name":"processInterrupted(editor:at:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP7process6editor5range14changeInLengthSbAA10EditorViewC_So8_NSRangeVSitF":{"name":"process(editor:range:changeInLength:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP22handleKeyWithModifiers6editor3key13modifierFlags5rangeyAA10EditorViewC_AA0mE0OSo013UIKeyModifierK0VSo8_NSRangeVtF":{"name":"handleKeyWithModifiers(editor:key:modifierFlags:range:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP10didProcess6editoryAA10EditorViewC_tF":{"name":"didProcess(editor:)","parent_name":"ListTextProcessor"},"Classes/GridView.html#/s:6Proton8GridViewC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"Delegate for GridView
which can be used to handle cell specific EditorView
events
Determines if column resizing handles are visible or not.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"Bounds observer for the GridView
. Typically, this will be the Attachment
that hosts the GridView
.
Selection color for the GridView
. Defaults to tintColor
Determines if GridView
is selected or not.
Allows scrolling grid in any direction. Defaults to false
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC20frozenColumnMaxIndexSiSgvp":{"name":"frozenColumnMaxIndex","abstract":"
Maximum index up till which columns are frozen. Columns are frozen from 0 to this index value.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC17frozenRowMaxIndexSiSgvp":{"name":"frozenRowMaxIndex","abstract":"Maximum index up till which rows are frozen. Rows are frozen from 0 to this index value.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC21containsFrozenColumnsSbvp":{"name":"containsFrozenColumns","abstract":"Determines if there are any frozen columns in the GridView
Determines if there are any frozen rows in the GridView
Collection of cells contained in the GridView
Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC15numberOfColumnsSivp":{"name":"numberOfColumns","abstract":"Number of columns in the GridView
.
Number of rows in the GridView
Initializes GridView
using the provided configuration.
Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC17setColumnResizingyySbF":{"name":"setColumnResizing(_:)","abstract":"Enables or disables column resizing
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC24isCellSelectionMergeableySbSayAA0bE0CGF":{"name":"isCellSelectionMergeable(_:)","abstract":"Determines if the collection of cells can be merged. For cells to be mergable, they need to","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC5merge5cellsySayAA0B4CellCG_tF":{"name":"merge(cells:)","abstract":"
Merges the cells if the collection is mergeable.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC5split4cellyAA0B4CellC_tF":{"name":"split(cell:)","abstract":"Splits the cell into original constituent cells from earlier Merge operation.","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC9insertRow2at13configurations6ResultOySayAA0B4CellCGAA0bC5ErrorOGSi_AA0bE13ConfigurationVtF":{"name":"insertRow(at:configuration:)","abstract":"
Inserts a new row at given index.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12insertColumn2at13configurations6ResultOySayAA0B4CellCGAA0bC5ErrorOGSi_AA0bE13ConfigurationVtF":{"name":"insertColumn(at:configuration:)","abstract":"Inserts a new column at given index.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC9deleteRow2atySi_tF":{"name":"deleteRow(at:)","abstract":"Deletes the row at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12deleteColumn2atySi_tF":{"name":"deleteColumn(at:)","abstract":"Deletes the column at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC13freezeColumns4upToySi_tF":{"name":"freezeColumns(upTo:)","abstract":"Freezes all the columns from 0 to the index provided
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10freezeRows4upToySi_tF":{"name":"freezeRows(upTo:)","abstract":"Freezes all the rows from 0 to the index provided
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC15unfreezeColumnsyyF":{"name":"unfreezeColumns()","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12unfreezeRowsyyF":{"name":"unfreezeRows()","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC11collapseRow2atySi_tF":{"name":"collapseRow(at:)","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC6cellAt8rowIndex06columnG0AA0B4CellCSgSi_SitF":{"name":"cellAt(rowIndex:columnIndex:)","abstract":"Gets the cell at given row and column index. Indexes may be contained in a merged cell.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC14scrollToCellAt8rowIndex06columnI08animatedySi_SiSbtF":{"name":"scrollToCellAt(rowIndex:columnIndex:animated:)","abstract":"Scrolls the cell at given index into viewable area. Indexes may be contained in a merged cell.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10applyStyle_5toRowyAA0b4CellE0V_SitF":{"name":"applyStyle(_:toRow:)","abstract":"Applies style to row at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10applyStyle_8toColumnyAA0b4CellE0V_SitF":{"name":"applyStyle(_:toColumn:)","abstract":"Applies style to column at given index
","parent_name":"GridView"},"Classes/GridView.html#/c:@CM@Proton@objc(cs)GridView(im)scrollViewDidScroll:":{"name":"scrollViewDidScroll(_:)","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridCell.html#/s:6Proton8GridCellC7rowSpanSaySiGvp":{"name":"rowSpan","abstract":"Row indexes spanned by the cell. In case of a merged cell, this will contain all the rows= indexes which are merged.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC10columnSpanSaySiGvp":{"name":"columnSpan","abstract":"Column indexes spanned by the cell. In case of a merged cell, this will contain all the column indexes which are merged.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC5frameSo6CGRectVvp":{"name":"frame","abstract":"Frame of the cell within GridView
Sets the cell selected
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC6editorAA10EditorViewCvp":{"name":"editor","abstract":"Editor within the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC12isSplittableSbvp":{"name":"isSplittable","abstract":"Denotes if the cell can be split i.e. is a merged cell.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC11contentSizeSo6CGSizeVvp":{"name":"contentSize","abstract":"Content size of the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC11contentViewSo6UIViewCvp":{"name":"contentView","abstract":"Content view for the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC9gridStyleAA0bE0Vvp":{"name":"gridStyle","abstract":"Undocumented
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC7rowSpan06columnE013initialHeight5style9gridStyleACSaySiG_AI14CoreFoundation7CGFloatVAA0bcK0VAA0bK0Vtcfc":{"name":"init(rowSpan:columnSpan:initialHeight:style:gridStyle:)","abstract":"Undocumented
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC8setFocusyyF":{"name":"setFocus()","abstract":"Sets the focus in the Editor
within the cell.
Removes the focus from the Editor
within the cell.
Applies the given style to the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_17didReceiveFocusAtyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didReceiveFocusAt:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didLoseFocusFrom:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF":{"name":"editor(_:didTapAtLocation:characterRange:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF":{"name":"editor(_:didChangeSelectionAt:attributes:contentType:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_13didReceiveKey2atyAA0bC0C_AA0bH0OSo8_NSRangeVtF":{"name":"editor(_:didReceiveKey:at:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"GridCell"},"Classes/EditorCommandExecutor.html#/s:6Proton21EditorCommandExecutorC7contextAcA0B11ViewContextC_tcfc":{"name":"init(context:)","abstract":"Initializes the EditorCommandExecutor
Executes the given command on the active EditorView
having the same Context
as the Command Executor. EditorCommand
will be executed only","parent_name":"EditorCommandExecutor"},"Classes/UnderlineCommand.html#/s:6Proton16UnderlineCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"UnderlineCommand"},"Classes/StrikethroughCommand.html#/s:6Proton20StrikethroughCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"StrikethroughCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"ListOutdentCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandC4nameAA0D4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListOutdentCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"Outdents a list item if it supports reversing indentation. When applied on an item at first level, it will remove item from the list.","parent_name":"ListOutdentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"ListIndentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandC4nameAA0D4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListIndentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"Indents a list item if it supports indentation (e.g. unsupported item may mean item at first level)","parent_name":"ListIndentCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC4nameAA0C4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC14attributeValueypSgvp":{"name":"attributeValue","abstract":"Value to be set for attribute .listItem
when applying to a range of text.","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"
Executes the command with value of attributeValue
for .listItem
attribute. If the attributeValue
is nil, executing","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC7execute2on14attributeValueyAA10EditorViewC_ypSgtF":{"name":"execute(on:attributeValue:)","abstract":"
Executes the command with value of attributeValue
for .listItem
attribute.
Undocumented
","parent_name":"ItalicsCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton22FontTraitToggleCommandC5traitSo30UIFontDescriptorSymbolicTraitsVvp":{"name":"trait","abstract":"Undocumented
","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton13EditorCommandP4nameAA0C4NameVvp":{"name":"name","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton22FontTraitToggleCommandC4name5traitAcA0E4NameV_So30UIFontDescriptorSymbolicTraitsVtcfc":{"name":"init(name:trait:)","abstract":"Undocumented
","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","parent_name":"FontTraitToggleCommand"},"Classes/BoldCommand.html#/s:6Proton11BoldCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"BoldCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton23AttributesToggleCommandC10attributesSDySo21NSAttributedStringKeyaypGvp":{"name":"attributes","abstract":"Undocumented
","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton13EditorCommandP4nameAA0C4NameVvp":{"name":"name","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton23AttributesToggleCommandC4name10attributesAcA0D4NameV_SDySo21NSAttributedStringKeyaypGtcfc":{"name":"init(name:attributes:)","abstract":"Undocumented
","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","parent_name":"AttributesToggleCommand"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC2idSSvp":{"name":"id","abstract":"Identifies the EditorViewContext
uniquely.
Friendly name for the context. It is possible to create multiple EditorViewContext
using the same name.","parent_name":"EditorViewContext"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"
EditorView delegate at context level. This delegate will be notified about events in all the Editors that share this particular context.","parent_name":"EditorViewContext"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC6sharedACvpZ":{"name":"shared","abstract":"
Default shared context. Use this in case there is only a single EditorView
on the screen at the root level.
EditorView
for this context that is currently active.
Initializes a new context
","parent_name":"EditorViewContext"},"Classes/EditorView.html#/s:6Proton10EditorViewC06editorC7ContextAA0bcE0Cvp":{"name":"editorViewContext","abstract":"Context for the current Editor
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textInteractionsSaySo17UITextInteractionCGvp":{"name":"textInteractions","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC04textC8GesturesSaySo19UIGestureRecognizerCGvp":{"name":"textViewGestures","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC26textDragInteractionEnabledSbvp":{"name":"textDragInteractionEnabled","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)bounds":{"name":"bounds","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"An object interested in responding to editing and focus related events in the EditorView
.
List formatting provider to be used for rendering lists in the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18registeredCommandsSayAA0B7Command_pGSgvp":{"name":"registeredCommands","abstract":"List of commands supported by the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18asyncTextResolversSayAA05AsyncE9Resolving_pGvp":{"name":"asyncTextResolvers","abstract":"Async Text Resolvers supported by the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5frame7context16allowAutogrowingACSo6CGRectV_AA0bC7ContextCSbtcfc":{"name":"init(frame:context:allowAutogrowing:)","abstract":"Initializes the EditorView
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC020editorInputAccessoryC0So6UIViewCSgvp":{"name":"editorInputAccessoryView","abstract":"Input accessory view to be used
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC011editorInputC0So6UIViewCSgvp":{"name":"editorInputView","abstract":"Input view to be used
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)initWithCoder:":{"name":"init(coder:)","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20registeredProcessorsSayAA14TextProcessing_pGvp":{"name":"registeredProcessors","abstract":"List of all the registered TextProcessors
in the EditorView
. This may be used by nested EditorView
to inherit all the","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17selectedTextRangeSo06UITextF0CSgvp":{"name":"selectedTextRange","abstract":"
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15placeholderTextSo18NSAttributedStringCSgvp":{"name":"placeholderText","abstract":"Placeholder text for the EditorView
. The value can contain any attributes which is natively","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12contentInsetSo12UIEdgeInsetsVvp":{"name":"contentInset","abstract":"
Gets or sets insets for additional scroll area around the content. Default value is UIEdgeInsetsZero.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC29verticalScrollIndicatorInsetsSo06UIEdgeG0Vvp":{"name":"verticalScrollIndicatorInsets","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19keyboardDismissModeSo08UIScrollc8KeyboardeF0Vvp":{"name":"keyboardDismissMode","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15isScrollEnabledSbvp":{"name":"isScrollEnabled","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18textContainerInsetSo12UIEdgeInsetsVvp":{"name":"textContainerInset","abstract":"Gets or sets the insets for the text container’s layout area within the editor’s content area
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17dataDetectorTypesSo06UIDataeF0Vvp":{"name":"dataDetectorTypes","abstract":"The types of data converted to tappable URLs in the editor view.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13contentLengthSivp":{"name":"contentLength","abstract":"Length of content within the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC10isEditableSbvp":{"name":"isEditable","abstract":"Determines if the EditorView
is editable or not.
Determines if the editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17currentLayoutLineAA0bF0VSgvp":{"name":"currentLayoutLine","abstract":"Current line information based the caret position or selected range. If the selected range spans across multiple","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15firstLayoutLineAA0bF0VSgvp":{"name":"firstLayoutLine","abstract":"
First line of content based on layout in the Editor. Nil if editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14lastLayoutLineAA0bF0VSgvp":{"name":"lastLayoutLine","abstract":"Last line of content based on layout in the Editor. Nil if editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12selectedTextSo18NSAttributedStringCvp":{"name":"selectedText","abstract":"Selected text in the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)backgroundColor":{"name":"backgroundColor","abstract":"Background color for the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)font":{"name":"font","abstract":"Default font to be used by the Editor. A font may be overridden on whole or part of content in EditorView
by an EditorCommand
or","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle":{"name":"paragraphStyle","abstract":"
Default paragraph style to be used by the Editor. The style may be overridden on whole or part of content in","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)textColor":{"name":"textColor","abstract":"
Default text color to be used by the Editor. The color may be overridden on whole or part of content in","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC9maxHeightAA0bE0Ovp":{"name":"maxHeight","abstract":"
Maximum height that the EditorView
can expand to. After reaching the maximum specified height, the editor becomes scrollable.
Text to be set in the EditorView
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16typingAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"typingAttributes","abstract":"Typing attributes to be used. Automatically resets when the selection changes.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"
An object interested in observing the changes in bounds of the Editor
, typically an Attachment
.
Gets and sets the content offset.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18linkTextAttributesSDySo21NSAttributedStringKeyaypGSgvp":{"name":"linkTextAttributes","abstract":"The attributes to apply to links.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12textEndRangeSo8_NSRangeVvp":{"name":"textEndRange","abstract":"Range of end of text in the EditorView
. The range has always has length of 0.
Determines if the current Editor is contained in an attachment
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC11contentNameSo015PREditorContentE0CSgvp":{"name":"contentName","abstract":"Name of the content if the Editor is contained within an Attachment
.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12visibleRangeSo8_NSRangeVvp":{"name":"visibleRange","abstract":"
Returns the visible text range.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19containerAttachmentAA0E0CSgvp":{"name":"containerAttachment","abstract":"Attachment containing the current Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12nestingLevelSivp":{"name":"nestingLevel","abstract":"Nesting level of current Editor within other attachments containing Editors.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC04rootB0ACvp":{"name":"rootEditor","abstract":"
Returns the root editor of the current Editor. Returns self
where the current editor is not contained within an Attachment
.
EditorView
containing the current EditorView
in an Attachment
Clears the contents in the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC22autocapitalizationTypeSo024UITextAutocapitalizationE0Vvp":{"name":"autocapitalizationType","abstract":"The auto-capitalization style for the text object.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18autocorrectionTypeSo020UITextAutocorrectionE0Vvp":{"name":"autocorrectionType","abstract":"
The autocorrection style for the text object.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17spellCheckingTypeSo011UITextSpelleF0Vvp":{"name":"spellCheckingType","abstract":"
The spell-checking style for the text object.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15smartQuotesTypeSo011UITextSmarteF0Vvp":{"name":"smartQuotesType","abstract":"The configuration state for smart quotes.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15smartDashesTypeSo011UITextSmarteF0Vvp":{"name":"smartDashesType","abstract":"The configuration state for smart dashes.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC21smartInsertDeleteTypeSo011UITextSmartefG0Vvp":{"name":"smartInsertDeleteType","abstract":"The configuration state for the smart insertion and deletion of space characters.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12keyboardTypeSo010UIKeyboardE0Vvp":{"name":"keyboardType","abstract":"The keyboard style associated with the text object.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18keyboardAppearanceSo010UIKeyboardE0Vvp":{"name":"keyboardAppearance","abstract":"The appearance style of the keyboard that is associated with the text object
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13returnKeyTypeSo08UIReturneF0Vvp":{"name":"returnKeyType","abstract":"The visible title of the Return key.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC29enablesReturnKeyAutomaticallySbvp":{"name":"enablesReturnKeyAutomatically","abstract":"A Boolean value indicating whether the Return key is automatically enabled when the user is entering text.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17isSecureTextEntrySbvp":{"name":"isSecureTextEntry","abstract":"
Identifies whether the text object should disable text copying and in some cases hide the text being entered.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15textContentTypeSo06UITexteF0aSgvp":{"name":"textContentType","abstract":"
The semantic meaning expected by a text input area.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC27allowsEditingTextAttributesSbvp":{"name":"allowsEditingTextAttributes","abstract":"
A Boolean value indicating whether the text view allows the user to edit style information.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12isSelectableSbvp":{"name":"isSelectable","abstract":"A Boolean value indicating whether the receiver is selectable.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textDragDelegateSo06UITexteF0_pSgvp":{"name":"textDragDelegate","abstract":"
A text drag delegate object for customizing the drag source behavior of a text view.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textDropDelegateSo06UITexteF0_pSgvp":{"name":"textDropDelegate","abstract":"The text drop delegate for interacting with a drop activity in the text view.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)sizeThatFits:":{"name":"sizeThatFits(_:)","abstract":"Asks the view to calculate and return the size that best fits the specified size.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)becomeFirstResponder":{"name":"becomeFirstResponder()","abstract":"Asks UIKit to make this object the first responder in its window.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC11markedRangeSo8_NSRangeVSgvp":{"name":"markedRange","abstract":"The range of currently marked text in a document.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13setAttributes_2atySDySo21NSAttributedStringKeyaypG_So8_NSRangeVtF":{"name":"setAttributes(_:at:)","abstract":"
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC21getFullAttributedText5usingSo18NSAttributedStringCAA27AttachmentContentIdentifierV_tF":{"name":"getFullAttributedText(using:)","abstract":"Returns the full attributed text contained in the EditorView
along with the ones in editors nested in contained Attachments.
Sets async text resolution to resolve on next text layout pass.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC24resolveAsyncTextIfNeededyyF":{"name":"resolveAsyncTextIfNeeded()","abstract":"Invokes async text resolution to resolve on demand.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16rangeOfCharacter2atSo8_NSRangeVSgSo7CGPointV_tF":{"name":"rangeOfCharacter(at:)","abstract":"Returns the range of character at the given point
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19contentLinesInRangeySayAA0B4LineVGSo8_NSRangeVF":{"name":"contentLinesInRange(_:)","abstract":"Gets the lines separated by newline characters from the given range.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19previousContentLine4fromAA0bF0VSgSi_tF":{"name":"previousContentLine(from:)","abstract":"Gets the previous line of content from the given location. A content line is defined by the presence of a","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15nextContentLine4fromAA0bF0VSgSi_tF":{"name":"nextContentLine(from:)","abstract":"
Gets the next line of content from the given location. A content line is defined by the presence of a","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15layoutLineAfteryAA0bE0VSgAFF":{"name":"layoutLineAfter(_:)","abstract":"
Gets the line preceding the given line. Nil if the given line is invalid or is first line
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16layoutLineBeforeyAA0bE0VSgAFF":{"name":"layoutLineBefore(_:)","abstract":"Gets the line before the given line. Nil if the given line is invalid or is first line
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5rects3forSaySo6CGRectVGSo8_NSRangeV_tF":{"name":"rects(for:)","abstract":"Returns the rectangles for line fragments spanned by the range. Based on the span of the range,","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC9caretRect3forSo6CGRectVSi_tF":{"name":"caretRect(for:)","abstract":"
Returns the caret rectangle for given position in the editor content.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC4word2atSo18NSAttributedStringCSgSi_tF":{"name":"word(at:)","abstract":"Gets the word from text at given location in editor content
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17attributeRangeFor_2atSo8_NSRangeVSgSo21NSAttributedStringKeya_SitF":{"name":"attributeRangeFor(_:at:)","abstract":"Gets the full range of attribute at given location.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14deleteBackwardyyF":{"name":"deleteBackward()","abstract":"Deletes text backwards
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16insertAttachment2in10attachmentySo8_NSRangeV_AA0E0CtF":{"name":"insertAttachment(in:attachment:)","abstract":"Inserts an Attachment
in the EditorView
.
Sets the focus in the EditorView
Makes the EditorView
lose focus.
Makes the EditorView
scroll to given range such that it is visible. No-op if the range is already visible.
Makes the EditorView
scroll to given range such that it is visible. No-op if the range is already visible.
Gets the contents within the Editor
.
Transforms EditorContent
into given type. This function can also be used to encode content into a different type for e.g. encoding the contents to JSON. Encoding","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_So18NSAttributedStringCtF":{"name":"replaceCharacters(in:with:)","abstract":"
Replaces the given range of content with the attributedString provided.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_SStF":{"name":"replaceCharacters(in:with:)","abstract":"Replaces the characters in the given range with the string provided.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16appendCharactersyySo18NSAttributedStringCF":{"name":"appendCharacters(_:)","abstract":"Appends the given attributed text to the end of content in EditorView
.
Appends the given attributed text to the end of content in EditorView
.
Registers the given text processor with the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19unregisterProcessoryyAA14TextProcessing_pF":{"name":"unregisterProcessor(_:)","abstract":"Unregisters the given text processor from the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18registerProcessorsyySayAA14TextProcessing_pGF":{"name":"registerProcessors(_:)","abstract":"Registers the given text processors with the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20unregisterProcessorsyySayAA14TextProcessing_pGF":{"name":"unregisterProcessors(_:)","abstract":"Unregisters the given text processors from the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16registerCommandsyySayAA0B7Command_pGF":{"name":"registerCommands(_:)","abstract":"Registers the given commands with the Editor. Only registered commands can be executed if any is added to the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18unregisterCommandsyySayAA0B7Command_pGF":{"name":"unregisterCommands(_:)","abstract":"Unregisters the given commands from the Editor. When all commands are unregistered, any command can be executed on the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15registerCommandyyAA0bE0_pF":{"name":"registerCommand(_:)","abstract":"Registers the given command with the Editor. Only registered commands can be executed if any is added to the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17unregisterCommandyyAA0bE0_pF":{"name":"unregisterCommand(_:)","abstract":"Unregisters the given command from the Editor. When all commands are unregistered, any command can be executed on the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)canPerformAction:withSender:":{"name":"canPerformAction(_:withSender:)","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20canPerformMenuAction_10withSenderSb10ObjectiveC8SelectorV_ypSgtF":{"name":"canPerformMenuAction(_:withSender:)","abstract":"Determines if the given menu action can be invoked.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5paste16attributedString4intoSbSo012NSAttributedF0C_So8_NSRangeVtF":{"name":"paste(attributedString:into:)","abstract":"This method attempt to simulate the paste
method but with explicitly provided attributed string and insertion range.
Adds given attributes to the range provided. If the range already contains a value for an attribute being provided,","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16removeAttributes_2atySaySo21NSAttributedStringKeyaG_So8_NSRangeVtF":{"name":"removeAttributes(_:at:)","abstract":"
Removes the given attributes from the range provided. If the attribute does not exist in the range, it will be a no-op.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12addAttribute_5value2atySo21NSAttributedStringKeya_ypSo8_NSRangeVtF":{"name":"addAttribute(_:value:at:)","abstract":"Adds given attribute to the range provided. If the attribute already exists in the range, it will be overwritten with the new value provided here.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15removeAttribute_2atySo21NSAttributedStringKeya_So8_NSRangeVtF":{"name":"removeAttribute(_:at:)","abstract":"Removes the attribute from given range. If the attribute does not exist in the range, it is a no-op.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16resolveAsyncTextyyF":{"name":"resolveAsyncText()","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19isCommandRegisteredySbAA0E4NameVF":{"name":"isCommandRegistered(_:)","abstract":"Determines if the given command can be executed on the current editor. The command is allowed to be executed if","parent_name":"EditorView"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"
Background color
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC013roundedCornerC0AA07RoundedeC0Ovp":{"name":"roundedCornerStyle","abstract":"Rounding style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6borderAA06BorderC0CSgvp":{"name":"border","abstract":"Optional border style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6shadowAA06ShadowC0CSgvp":{"name":"shadow","abstract":"Optional shadow style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC18hasSquaredOffJoinsSbvp":{"name":"hasSquaredOffJoins","abstract":"Determines if the background has squared off joins at the point of wrapping of content.","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC10heightModeAA0bE0Ovp":{"name":"heightMode","abstract":"
Defines if the background should be drawn based on height of text range with style, or that of the height of line fragment containing","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC9widthModeAA0bE0Ovp":{"name":"widthMode","abstract":"
Defines if the background should be drawn based on width of text range with style, or that of the entire width of line fragment containing","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6insetsSo12UIEdgeInsetsVvp":{"name":"insets","abstract":"
Insets for drawn background. Defaults to .zero
Undocumented
","parent_name":"BackgroundStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"Color of border
","parent_name":"BorderStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC9lineWidth14CoreFoundation7CGFloatVvp":{"name":"lineWidth","abstract":"Width of the border
","parent_name":"BorderStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC9lineWidth5colorAC14CoreFoundation7CGFloatV_So7UIColorCtcfc":{"name":"init(lineWidth:color:)","abstract":"Undocumented
","parent_name":"BorderStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"Color of the shadow
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC6offsetSo6CGSizeVvp":{"name":"offset","abstract":"Shadow offset
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC4blur14CoreFoundation7CGFloatVvp":{"name":"blur","abstract":"Shadow blur
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC5color6offset4blurACSo7UIColorC_So6CGSizeV14CoreFoundation7CGFloatVtcfc":{"name":"init(color:offset:blur:)","abstract":"Undocumented
","parent_name":"ShadowStyle"},"Classes/Attachment.html#/s:6Proton10AttachmentC18selectBeforeDeleteSbvp":{"name":"selectBeforeDelete","abstract":"Governs if the attachment should be selected before being deleted. When true
, tapping the backspace key the first time on range containing Attachment
will only","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6stringSo18NSAttributedStringCvp":{"name":"string","abstract":"
Attributed string representation of the Attachment
. This can be used directly to replace a range of text in EditorView
Name of the content contained within the Attachment
Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC19containerEditorViewAA0dE0CSgvp":{"name":"containerEditorView","abstract":"EditorView
containing this attachment
Offsets for the attachment. Can be used to align attachment with the text. Defaults to .zero
Name of the content for the EditorView
Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC15containerBoundsSo6CGRectVSgvp":{"name":"containerBounds","abstract":"Bounds of the container
","parent_name":"Attachment"},"Classes/Attachment.html#/c:@M@Proton@objc(cs)Attachment(py)bounds":{"name":"bounds","abstract":"The bounds rectangle, which describes the attachment’s location and size in its own coordinate system.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC5imageAcA0B5ImageV_tcfc":{"name":"init(image:)","abstract":"Initializes an attachment with the image provided.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC_4sizeAcA0B15TypeIdentifying_AA013EditorContentE0So6UIViewCXc_AA0B4SizeOtcfc":{"name":"init(_:size:)","abstract":"Initializes the attachment with the given content view
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC15didChangeBounds_03oldE0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","abstract":"Causes invalidation of layout of the attachment when the containing view bounds are changed
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC19removeFromContaineryyF":{"name":"removeFromContainer()","abstract":"Removes this attachment from the EditorView
it is contained in.
Range of this attachment in it’s container
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC32addedAttributesOnContainingRange16rangeInContainer10attributesySo8_NSRangeV_SDySo21NSAttributedStringKeyaypGtF":{"name":"addedAttributesOnContainingRange(rangeInContainer:attributes:)","abstract":"Invoked when attributes are added in the containing EditorView
in the range of string in which this attachment is contained.
Returns the calculated bounds for the attachment based on size rule and content view provided during initialization.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6update4withyAA0B5ImageV_tF":{"name":"update(with:)","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6update_4sizeyAA0B15TypeIdentifying_AA013EditorContentF0So6UIViewCXc_AA0B4SizeOtF":{"name":"update(_:size:)","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC40getFullTextRangeIdentificationAttributesSDySo21NSAttributedStringKeyaypGyF":{"name":"getFullTextRangeIdentificationAttributes()","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC16invalidateLayoutyyF":{"name":"invalidateLayout()","abstract":"Invalidates the current layout and triggers a layout update.
","parent_name":"Attachment"},"Classes/Attachment.html":{"name":"Attachment","abstract":"An attachment can be used as a container for any view object. Based on the AttachmentSize
provided, the attachment automatically renders itself alongside the text in EditorView
."},"Classes/ShadowStyle.html":{"name":"ShadowStyle","abstract":"
Shadow style for backgroundStyle
attribute
Border style for backgroundStyle
attribute
Style for background color attribute. Adding backgroundStyle
attribute will add border, background and shadow"},"Classes/EditorView.html":{"name":"EditorView","abstract":"
A scrollable, multiline text region capable of resizing itself based of the height of the content. Maximum height of EditorView
"},"Classes/EditorViewContext.html":{"name":"EditorViewContext","abstract":"
Describes the context for the EditorView
. A context is used to execute the commands using EditorCommandExecutor
. In a typical scenario, where there are"},"Classes/AttributesToggleCommand.html":{"name":"AttributesToggleCommand","abstract":"
Editor command that toggles given attributes in selected range in the Editor.
"},"Classes/BoldCommand.html":{"name":"BoldCommand","abstract":"Editor command that toggles Bold attribute to the selected range in the Editor.
"},"Classes/FontTraitToggleCommand.html":{"name":"FontTraitToggleCommand","abstract":"Editor command that toggles given font trait to the selected range in the Editor.
"},"Classes/ItalicsCommand.html":{"name":"ItalicsCommand","abstract":"Editor command that toggles Italics attribute to the selected range in the Editor.
"},"Classes/ListCommand.html":{"name":"ListCommand","abstract":"Command that can be used to toggle list attributes of selected range of text."},"Classes/ListIndentCommand.html":{"name":"ListIndentCommand","abstract":"
Command that can be used to toggle list indentation of selected range of text.
"},"Classes/ListOutdentCommand.html":{"name":"ListOutdentCommand","abstract":"Command that can be used to toggle list indentation of selected range of text.
"},"Classes/StrikethroughCommand.html":{"name":"StrikethroughCommand","abstract":"Undocumented
"},"Classes/UnderlineCommand.html":{"name":"UnderlineCommand","abstract":"Undocumented
"},"Classes/EditorCommandExecutor.html":{"name":"EditorCommandExecutor","abstract":"EditorCommandExecutor
manages all the EditorView
in the main EditorView
. Sub editors may have been added as Attachment
in the EditorView
."},"Classes/GridCell.html":{"name":"GridCell","abstract":"
Denotes a cell in the GridView
A view that provides a tabular structure where each cell is an EditorView
."},"Classes/ListTextProcessor.html":{"name":"ListTextProcessor","abstract":"
Text process capable of processing keyboard inputs specific to lists. ListTextProcessor
only works after a range of text"},"Classes.html":{"name":"Classes","abstract":"
The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}} \ No newline at end of file +{"Typealiases.html#/s:6Proton10Attributesa":{"name":"Attributes","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton14AttachmentViewa":{"name":"AttachmentView","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton25AttachmentViewIdentifyinga":{"name":"AttachmentViewIdentifying","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton22TextProcessingPrioritya":{"name":"TextProcessingPriority","abstract":"Undocumented
"},"Typealiases.html#/s:6Proton9Processeda":{"name":"Processed","abstract":"Undocumented
"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5colorSo7UIColorCvp":{"name":"color","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html#/s:6Proton13GridCellStyleV06BorderD0V5color5widthAESo7UIColorC_14CoreFoundation7CGFloatVtcfc":{"name":"init(color:width:)","abstract":"Undocumented
","parent_name":"BorderStyle"},"Structs/GridCellStyle/BorderStyle.html":{"name":"BorderStyle","abstract":"Border style for individual cells. This may be used to override the style provided in the GridStyle
for individual cells
Default background color for the cell.
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV9textColorSo7UIColorCSgvp":{"name":"textColor","abstract":"Default text color for the cell
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV4fontSo6UIFontCSgvp":{"name":"font","abstract":"Default font for the cell
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV06borderD0AC06BorderD0VSgvp":{"name":"borderStyle","abstract":"Undocumented
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV15backgroundColor04textF04font06borderD0ACSo7UIColorCSg_AJSo6UIFontCSgAC06BorderD0VSgtcfc":{"name":"init(backgroundColor:textColor:font:borderStyle:)","abstract":"Undocumented
","parent_name":"GridCellStyle"},"Structs/GridCellStyle.html#/s:6Proton13GridCellStyleV6merged5style5otherA2C_ACtFZ":{"name":"merged(style:other:)","abstract":"Creates a merged styles from given styles with precedence to the first style and any missing values used from the second style
","parent_name":"GridCellStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderColorSo7UIColorCvp":{"name":"borderColor","abstract":"Border color for grid
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderWidth14CoreFoundation7CGFloatVvp":{"name":"borderWidth","abstract":"Border width for the grid
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV7defaultACvpZ":{"name":"default","abstract":"Default style
","parent_name":"GridStyle"},"Structs/GridStyle.html#/s:6Proton9GridStyleV11borderColor0D5WidthACSo7UIColorC_14CoreFoundation7CGFloatVtcfc":{"name":"init(borderColor:borderWidth:)","abstract":"Undocumented
","parent_name":"GridStyle"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV5styleAA0B5StyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV23boundsLimitShadowColorsAA08GradientG0Vvp":{"name":"boundsLimitShadowColors","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV07columnsC0SayAA0b6ColumnC0VGvp":{"name":"columnsConfiguration","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV04rowsC0SayAA0b3RowC0VGvp":{"name":"rowsConfiguration","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV20collapsedColumnWidth14CoreFoundation7CGFloatVvp":{"name":"collapsedColumnWidth","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV18collapsedRowHeight14CoreFoundation7CGFloatVvp":{"name":"collapsedRowHeight","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV07columnsC004rowsC05style23boundsLimitShadowColors20collapsedColumnWidth0K9RowHeightACSayAA0blC0VG_SayAA0bnC0VGAA0B5StyleVAA08GradientJ0V14CoreFoundation7CGFloatVAVtcfc":{"name":"init(columnsConfiguration:rowsConfiguration:style:boundsLimitShadowColors:collapsedColumnWidth:collapsedRowHeight:)","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV15numberOfColumnsSivp":{"name":"numberOfColumns","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GridConfiguration.html#/s:6Proton17GridConfigurationV12numberOfRowsSivp":{"name":"numberOfRows","abstract":"Undocumented
","parent_name":"GridConfiguration"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV7primarySo7UIColorCvp":{"name":"primary","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV9secondarySo7UIColorCvp":{"name":"secondary","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GradientColors.html#/s:6Proton14GradientColorsV7primary9secondaryACSo7UIColorC_AGtcfc":{"name":"init(primary:secondary:)","abstract":"Undocumented
","parent_name":"GradientColors"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV13initialHeight14CoreFoundation7CGFloatVvp":{"name":"initialHeight","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV5styleAA0B9CellStyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridRowConfiguration.html#/s:6Proton20GridRowConfigurationV13initialHeight5styleAC14CoreFoundation7CGFloatV_AA0B9CellStyleVtcfc":{"name":"init(initialHeight:style:)","abstract":"Undocumented
","parent_name":"GridRowConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5widthAA0bC5WidthOvp":{"name":"width","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5styleAA0B9CellStyleVvp":{"name":"style","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/GridColumnConfiguration.html#/s:6Proton23GridColumnConfigurationV5width5styleAcA0bC5WidthO_AA0B9CellStyleVtcfc":{"name":"init(width:style:)","abstract":"Undocumented
","parent_name":"GridColumnConfiguration"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingV11EncodedTypea":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingVyACyxGqd__c11EncodedTypeQyd__RszAA0eF0Rd__lufc":{"name":"init(_:)","abstract":"Initializes the Encoder
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorContentAttachmentEncoding.html#/s:6Proton34AnyEditorContentAttachmentEncodingV6encode4name4viewxSo08PREditorD4NameC_So6UIViewCtF":{"name":"encode(name:view:)","abstract":"Encodes contents based on concrete encoder provided during initialization
","parent_name":"AnyEditorContentAttachmentEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingV11EncodedTypea":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AnyEditorTextEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingVyACyxGqd__c11EncodedTypeQyd__RszAA0cdE0Rd__lufc":{"name":"init(_:)","abstract":"Initializes the Encoder
","parent_name":"AnyEditorTextEncoding"},"Structs/AnyEditorTextEncoding.html#/s:6Proton21AnyEditorTextEncodingV6encode4name6stringxSo19PREditorContentNameC_So18NSAttributedStringCtF":{"name":"encode(name:string:)","abstract":"Encodes contents based on concrete encoder provided during initialization
","parent_name":"AnyEditorTextEncoding"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV11indentation14CoreFoundation7CGFloatVvp":{"name":"indentation","abstract":"Indentation of line
","parent_name":"LineFormatting"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV13spacingBefore14CoreFoundation7CGFloatVvp":{"name":"spacingBefore","abstract":"Vertical spacing before the line
","parent_name":"LineFormatting"},"Structs/LineFormatting.html#/s:6Proton14LineFormattingV11indentation13spacingBeforeAC14CoreFoundation7CGFloatV_AHtcfc":{"name":"init(indentation:spacingBefore:)","abstract":"Initializes
","parent_name":"LineFormatting"},"Structs/EditorLine.html#/s:6Proton10EditorLineV4textSo18NSAttributedStringCvp":{"name":"text","abstract":"Text contained in the current line.
","parent_name":"EditorLine"},"Structs/EditorLine.html#/s:6Proton10EditorLineV5rangeSo8_NSRangeVvp":{"name":"range","abstract":"Range of text in the EditorView
for the current line.
Determines if the current line starts with given text.","parent_name":"EditorLine"},"Structs/EditorLine.html#/s:6Proton10EditorLineV8endsWithySbSSF":{"name":"endsWith(_:)","abstract":"
Determines if the current line ends with given text.","parent_name":"EditorLine"},"Structs/AttachmentContentIdentifier.html#/s:6Proton27AttachmentContentIdentifierV9openingIDSo18NSAttributedStringCvp":{"name":"openingID","abstract":"
Undocumented
","parent_name":"AttachmentContentIdentifier"},"Structs/AttachmentContentIdentifier.html#/s:6Proton27AttachmentContentIdentifierV9closingIDSo18NSAttributedStringCvp":{"name":"closingID","abstract":"Undocumented
","parent_name":"AttachmentContentIdentifier"},"Structs/EditorContent.html#/s:6Proton13EditorContentV4typeAA0bC4TypeOvp":{"name":"type","abstract":"Type of EditorContent
Range within the Editor
for this content
Name for the content within the Editor. All the content (text and attachments) must have","parent_name":"EditorContent"},"Structs/AnyEditorContentDecoding.html#/s:6Proton24AnyEditorContentDecodingVyACyxq_Gqd__c12TypeToDecodeQyd__Rsz0E7ContextQyd__Rs_AA0cdE0Rd__lufc":{"name":"init(_:)","abstract":"
Initializes AnyEditorContentDecoding
","parent_name":"AnyEditorContentDecoding"},"Structs/AnyEditorContentDecoding.html#/s:6Proton24AnyEditorContentDecodingV6decode4mode7maxSize5value7contextSo18NSAttributedStringCAA0cD4ModeO_So6CGSizeVxq_tKF":{"name":"decode(mode:maxSize:value:context:)","abstract":"Decodes the given value to NSAttributedString
Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/AnyAttributeDecoding.html#/s:6Proton20AnyAttributeDecodingVyACyxGqd__c12TypeToDecodeQyd__RszAA010AttributesD0Rd__lufc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/AnyAttributeDecoding.html#/s:6Proton20AnyAttributeDecodingV6decodeySDySo21NSAttributedStringKeyaypGxF":{"name":"decode(_:)","abstract":"Undocumented
","parent_name":"AnyAttributeDecoding"},"Structs/SquareBulletSequenceGenerator.html#/s:6Proton29SquareBulletSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"SquareBulletSequenceGenerator"},"Structs/SquareBulletSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"SquareBulletSequenceGenerator"},"Structs/DiamondBulletSequenceGenerator.html#/s:6Proton30DiamondBulletSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"DiamondBulletSequenceGenerator"},"Structs/DiamondBulletSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"DiamondBulletSequenceGenerator"},"Structs/NumericSequenceGenerator.html#/s:6Proton24NumericSequenceGeneratorVACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"NumericSequenceGenerator"},"Structs/NumericSequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","parent_name":"NumericSequenceGenerator"},"Structs/ListParser.html#/s:6Proton10ListParserV5parse4list6indentSo18NSAttributedStringCSayAA0B4ItemVG_14CoreFoundation7CGFloatVtFZ":{"name":"parse(list:indent:)","abstract":"Parses an array of list items into an NSAttributedString
representation. NewLines
are automatically added between each list item in the attributed string representation.
Parses NSAttributedString to list items
","parent_name":"ListParser"},"Structs/ListItem.html#/s:6Proton8ListItemV4textSo18NSAttributedStringCvp":{"name":"text","abstract":"Text of the list item. All attributes are preserved as is.
","parent_name":"ListItem"},"Structs/ListItem.html#/s:6Proton8ListItemV5levelSivp":{"name":"level","abstract":"Level of the list item. This is used with indent to get paragraphStyle
to be applied with appropriate indentation of the list items.
Attribute value of the list item.
","parent_name":"ListItem"},"Structs/ListItem.html#/s:6Proton8ListItemV4text5level14attributeValueACSo18NSAttributedStringC_Siyptcfc":{"name":"init(text:level:attributeValue:)","abstract":"Creates a ListItem
Name of the command. Must be unique across different types of commands.
","parent_name":"CommandName"},"Structs/CommandName.html#/s:6Proton11CommandNameVyACSScfc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"CommandName"},"Structs/CommandName.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"CommandName"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4nameSo19PREditorContentNameCvp":{"name":"name","abstract":"Content name for the image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV5imageSo7UIImageCvp":{"name":"image","abstract":"Image content
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4sizeSo6CGSizeVvp":{"name":"size","abstract":"Size of the image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4typeAA0B4TypeOvp":{"name":"type","abstract":"Denotes if the image is block content or an inline
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html#/s:6Proton15AttachmentImageV4name5image4size4typeACSo19PREditorContentNameC_So7UIImageCSo6CGSizeVAA0B4TypeOtcfc":{"name":"init(name:image:size:type:)","abstract":"Initializes the Block Content image
","parent_name":"AttachmentImage"},"Structs/AttachmentImage.html":{"name":"AttachmentImage","abstract":"Describes an image for which can be used in an Attachment
Identifies an EditorCommand or a RendererCommand
"},"Structs/ListItem.html":{"name":"ListItem","abstract":"Represents an item in the list. This structure may be used to create NSAttributedString
from items in an array of ListItem
. Alternatively, NSAttributedString
may also be parsed to get an array of ListItem
s.
Provides helper function to convert between NSAttributedString
and [ListItem]
Simple numeric sequence generator.
"},"Structs/DiamondBulletSequenceGenerator.html":{"name":"DiamondBulletSequenceGenerator","abstract":"Simple bullet sequence generator that returns a diamond symbol.
"},"Structs/SquareBulletSequenceGenerator.html":{"name":"SquareBulletSequenceGenerator","abstract":"Simple bullet sequence generator that returns a square symbol.
"},"Structs/AnyAttributeDecoding.html":{"name":"AnyAttributeDecoding","abstract":"A type-erased implementation of AttributesDecoding
A type-erased implementation of EditorContentDecoding
Defines a content type for Editor
. This may be used to serialize the contents of an Editor
via enumerating through the contents of the Editor
.
Describes opening and closing separators for EditorView
‘getFullAttributedText(:)
function.
Representation of a line of text in EditorView
. A line is defined as a single fragment starting from the beginning of"},"Structs/LineFormatting.html":{"name":"LineFormatting","abstract":"
Describes the formatting of a line of text. While general purpose in nature, this is"},"Structs/AnyEditorTextEncoding.html":{"name":"AnyEditorTextEncoding","abstract":"
/// A type-erased implementation of EditorTextEncoding
A type-erased implementation of AttachmentEncoding
.
Undocumented
"},"Structs/GridRowConfiguration.html":{"name":"GridRowConfiguration","abstract":"Undocumented
"},"Structs/GradientColors.html":{"name":"GradientColors","abstract":"Undocumented
"},"Structs/GridConfiguration.html":{"name":"GridConfiguration","abstract":"Undocumented
"},"Structs/GridStyle.html":{"name":"GridStyle","abstract":"Style configuration for the grid
"},"Structs/GridCellStyle.html":{"name":"GridCellStyle","abstract":"Style configuration for the GridCell
Name of the TextProcessor
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP8prioritySivp":{"name":"priority","abstract":"Priority of the TextProcessor. An EditorView
can have multiple TextProcessors
registered. These will be executed in the order of Priority
.
Determines if the text should be changed in the editor.
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP11willProcess07deletedB008insertedB0ySo18NSAttributedStringC_AHtF":{"name":"willProcess(deletedText:insertedText:)","abstract":"Invoked before changes are processed by the editor.
","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP7process6editor5range14changeInLengthSbAA10EditorViewC_So8_NSRangeVSitF":{"name":"process(editor:range:changeInLength:)","abstract":"Allows to change attributes and text in the EditorView
as the text is changed.
Allows to change attributes and text in the EditorView
as the text is changed.
Fired when processing has been interrupted by another TextProcessor
running in the same pass. This allows TextProcessor
to revert","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP20selectedRangeChanged6editor03oldE003newE0yAA10EditorViewC_So8_NSRangeVSgALtF":{"name":"selectedRangeChanged(editor:oldRange:newRange:)","abstract":"
Notifies the processor that the selected range has changed in the EditorView due to a reason other than typing text","parent_name":"TextProcessing"},"Protocols/TextProcessing.html#/s:6Proton14TextProcessingP10didProcess6editoryAA10EditorViewC_tF":{"name":"didProcess(editor:)","abstract":"
Invoked after the text has been processed in the Editor
.
Invoked when EditorView
within the cell receives focus
Invoked when EditorView
within the cell loses focus
Invoked when tap event occurs within the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_20didChangeSelectionAt10attributes11contentType2inyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCAA0B4CellCtF":{"name":"gridView(_:didChangeSelectionAt:attributes:contentType:in:)","abstract":"Invoked on selection changes with in the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_15didChangeBounds2inyAA0bC0C_So6CGRectVAA0B4CellCtF":{"name":"gridView(_:didChangeBounds:in:)","abstract":"Invoked on change of bounds of the Editor within the cell
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_14didSelectCellsyAA0bC0C_SayAA0B4CellCGtF":{"name":"gridView(_:didSelectCells:)","abstract":"Invoked when selection of cells is changed.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_16didUnselectCellsyAA0bC0C_SayAA0B4CellCGtF":{"name":"gridView(_:didUnselectCells:)","abstract":"Invoked when selection of cells is changed.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_13didReceiveKey2at2inyAA0bC0C_AA06EditorH0OSo8_NSRangeVAA0B4CellCtF":{"name":"gridView(_:didReceiveKey:at:in:)","abstract":"Invoked when special keys are intercepted in the Editor contained in the cell.
","parent_name":"GridViewDelegate"},"Protocols/GridViewDelegate.html#/s:6Proton16GridViewDelegateP04gridC0_23shouldChangeColumnWidth3forSbAA0bC0C_14CoreFoundation7CGFloatVSitF":{"name":"gridView(_:shouldChangeColumnWidth:for:)","abstract":"Invoked when a column in GridView
is resized.
Undocumented
","parent_name":"GridViewDelegate"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP1TQa":{"name":"T","abstract":"Undocumented
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP12textEncodersSDySo08PREditorC4NameCAA03AnyB12TextEncodingVy1TQzGGvp":{"name":"textEncoders","abstract":"Encoders for text content i.e. NSAttributedString based content
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP18attachmentEncodersSDySo08PREditorC4NameCAA03AnybC18AttachmentEncodingVy1TQzGGvp":{"name":"attachmentEncoders","abstract":"Encoders for attachment types
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoder.html#/s:6Proton20EditorContentEncoderP6encodey1TQzSgAA0bC0VF":{"name":"encode(_:)","abstract":"Encodes the given content.
","parent_name":"EditorContentEncoder"},"Protocols/EditorContentEncoding.html#/s:6Proton21EditorContentEncodingP11EncodedTypeQa":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"EditorContentEncoding"},"Protocols/EditorContentEncoding.html#/s:6Proton21EditorContentEncodingP6encodey11EncodedTypeQzSgAA0bC0VF":{"name":"encode(_:)","abstract":"Undocumented
","parent_name":"EditorContentEncoding"},"Protocols/AttachmentEncoding.html#/s:6Proton18AttachmentEncodingP11EncodedTypeQa":{"name":"EncodedType","abstract":"Undocumented
","parent_name":"AttachmentEncoding"},"Protocols/AttachmentEncoding.html#/s:6Proton18AttachmentEncodingP6encode4name4view11EncodedTypeQzSo19PREditorContentNameC_So6UIViewCtF":{"name":"encode(name:view:)","abstract":"Encodes given Attachment
content view to given type
Undocumented
","parent_name":"EditorTextEncoding"},"Protocols/EditorTextEncoding.html#/s:6Proton18EditorTextEncodingP6encode4name6string11EncodedTypeQzSo19PREditorContentNameC_So18NSAttributedStringCtF":{"name":"encode(name:string:)","abstract":"Encodes the given attributed string to EncodedType
Identifies a command. This value is used to maintain unique registrations of commands in an Editor. Adding a command with the same name","parent_name":"EditorCommand"},"Protocols/EditorCommand.html#/s:6Proton13EditorCommandP10canExecute2onSbAA0B4ViewC_tF":{"name":"canExecute(on:)","abstract":"
Determines if the current command can be executed on the given EditorView
. When a command is executed using EditorCommandExecutor
, it ensures","parent_name":"EditorCommand"},"Protocols/EditorCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","abstract":"
Execute the command on the given EditorView
. You may use selectedRange
property of EditorView
if the command operates on","parent_name":"EditorCommand"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_12shouldHandle2at7handledyAA0bC0C_AA0B3KeyOSo8_NSRangeVSbztF":{"name":"editor(_:shouldHandle:at:handled:)","abstract":"
Invoked when a special key like enter
, tab
etc. is intercepted in the Editor
Invoked when a special key like enter
, tab
etc. is entered in the Editor
Invoked when editor receives focus.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didLoseFocusFrom:)","abstract":"Invoked when editor loses the focus.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_15didChangeTextAtyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didChangeTextAt:)","abstract":"Invoked when text is changed in editor.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF":{"name":"editor(_:didChangeSelectionAt:attributes:contentType:)","abstract":"Invoked when the selection range changes in the editor as a result of moving the cursor using keys/mouse or taps.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_20didExecuteProcessors2atyAA0bC0C_SayAA14TextProcessing_pGSo8_NSRangeVtF":{"name":"editor(_:didExecuteProcessors:at:)","abstract":"Invoked when text processors are executed in the editor.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_13didChangeSize08previousH0yAA0bC0C_So6CGSizeVAJtF":{"name":"editor(_:didChangeSize:previousSize:)","abstract":"Invoked when the size of EditorView changes.
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF":{"name":"editor(_:didTapAtLocation:characterRange:)","abstract":"Invoked when a location within the EditorView
is tapped.
Invoked whenever layout pass completes as a result of changing or text or attributes
","parent_name":"EditorViewDelegate"},"Protocols/EditorViewDelegate.html#/s:6Proton18EditorViewDelegateP6editor_21willSetAttributedTextyAA0bC0C_So18NSAttributedStringCtF":{"name":"editor(_:willSetAttributedText:)","abstract":"Invoked before attributedText is set on the EditorView
Invoked after attributedText is set on the EditorView
Invoked when Editor has been added to the view hierarchy and is ready to receive events.
","parent_name":"EditorViewDelegate"},"Protocols/BoundsObserving.html#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","abstract":"Lets the observer know that bounds of current object have changed
","parent_name":"BoundsObserving"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP6editorAA0bD0Cvp":{"name":"editor","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP14attributedTextSo18NSAttributedStringCvp":{"name":"attributedText","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP9maxHeightAA0bF0Ovp":{"name":"maxHeight","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP8delegateAA0bD8Delegate_pSgvp":{"name":"delegate","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewP20becomeFirstResponderSbyF":{"name":"becomeFirstResponder()","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/EditorContentView.html#/s:6Proton17EditorContentViewPAAE8setFocusyyF":{"name":"setFocus()","abstract":"Undocumented
","parent_name":"EditorContentView"},"Protocols/AttachmentTypeIdentifying.html#/s:6Proton25AttachmentTypeIdentifyingP4typeAA0bC0Ovp":{"name":"type","abstract":"Undocumented
","parent_name":"AttachmentTypeIdentifying"},"Protocols/EditorContentIdentifying.html#/s:6Proton24EditorContentIdentifyingP4nameSo08PREditorC4NameCvp":{"name":"name","abstract":"Undocumented
","parent_name":"EditorContentIdentifying"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP12TypeToDecodeQa":{"name":"TypeToDecode","abstract":"Undocumented
","parent_name":"EditorContentDecoding"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP0D7ContextQa":{"name":"DecodingContext","abstract":"Undocumented
","parent_name":"EditorContentDecoding"},"Protocols/EditorContentDecoding.html#/s:6Proton21EditorContentDecodingP6decode4mode7maxSize5value7contextSo18NSAttributedStringCAA0bC4ModeO_So6CGSizeV12TypeToDecodeQz0D7ContextQztKF":{"name":"decode(mode:maxSize:value:context:)","abstract":"Decodes the given value to NSAttributedString
Undocumented
","parent_name":"AttributesDecoding"},"Protocols/AttributesDecoding.html#/s:6Proton18AttributesDecodingP4nameSSvp":{"name":"name","abstract":"Undocumented
","parent_name":"AttributesDecoding"},"Protocols/AttributesDecoding.html#/s:6Proton18AttributesDecodingP6decodeySDySo21NSAttributedStringKeyaypG12TypeToDecodeQzF":{"name":"decode(_:)","abstract":"Undocumented
","parent_name":"AttributesDecoding"},"Protocols/SequenceGenerator.html#/s:6Proton17SequenceGeneratorP5value2atAA14ListLineMarkerOSi_tF":{"name":"value(at:)","abstract":"Returns a value representing the given index.
","parent_name":"SequenceGenerator"},"Protocols/EditorListFormattingProvider.html#/s:6Proton28EditorListFormattingProviderP08listLineD0AA0gD0Vvp":{"name":"listLineFormatting","abstract":"Line formatting to be used for a list item.
","parent_name":"EditorListFormattingProvider"},"Protocols/EditorListFormattingProvider.html#/s:6Proton28EditorListFormattingProviderP17listLineMarkerFor6editor5index5level13previousLevel14attributeValueAA0cgH0OAA0B4ViewC_S3iypSgtF":{"name":"listLineMarkerFor(editor:index:level:previousLevel:attributeValue:)","abstract":"Returns the marker to be drawn for list item (bullet/number etc.) for given parameters.
","parent_name":"EditorListFormattingProvider"},"Protocols/Focusable.html#/s:6Proton9FocusableP8setFocusyyF":{"name":"setFocus()","abstract":"Undocumented
","parent_name":"Focusable"},"Protocols/AttachmentOffsetProviding.html#/s:6Proton25AttachmentOffsetProvidingP6offset3for2in20proposedLineFragment13glyphPosition14characterIndexSo7CGPointVAA0B0C_So15NSTextContainerCSo6CGRectVAKSitF":{"name":"offset(for:in:proposedLineFragment:glyphPosition:characterIndex:)","abstract":"Undocumented
","parent_name":"AttachmentOffsetProviding"},"Protocols/DynamicBoundsProviding.html#/s:6Proton22DynamicBoundsProvidingP7sizeFor10attachment13containerSize8lineRectSo6CGSizeVAA10AttachmentC_AISo6CGRectVtF":{"name":"sizeFor(attachment:containerSize:lineRect:)","abstract":"Undocumented
","parent_name":"DynamicBoundsProviding"},"Protocols/AsyncTextResolving.html#/s:6Proton18AsyncTextResolvingP4nameSSvp":{"name":"name","abstract":"Name of the Resolver. This name must be applied to the range of text that requires async resolution with attribute key: .asyncTextResolver
Resolves the string to a different representation
","parent_name":"AsyncTextResolving"},"Protocols/AsyncTextResolving.html":{"name":"AsyncTextResolving","abstract":"An object capable of resolving text asynchronously to another representation. New representation may contain change in attributes or the string itself.
"},"Protocols/DynamicBoundsProviding.html":{"name":"DynamicBoundsProviding","abstract":"Describes an object (typically attachment view) that may change size during the layout pass
"},"Protocols/AttachmentOffsetProviding.html":{"name":"AttachmentOffsetProviding","abstract":"Describes an object capable of providing offsets for the Attachment
. The value is used to offset the Attachment
when rendered alongside the text. This may"},"Protocols/Focusable.html":{"name":"Focusable","abstract":"
Describes an object capable of gaining focus.
"},"Protocols/EditorListFormattingProvider.html":{"name":"EditorListFormattingProvider","abstract":"Describes an object capable of providing style and formatting information for rendering lists in EditorView
.
Represents a Sequence generator that can return a value based on given index."},"Protocols/AttributesDecoding.html":{"name":"AttributesDecoding","abstract":"
An object capable of decoding attributes for use in NSAttributedString
An object capable of decoding the given type of content into NSAttributedString
for using in EditorView
or the RendererView
.
Identifies a content type within the Editor
Undocumented
"},"Protocols/EditorContentView.html":{"name":"EditorContentView","abstract":"Describes a view contained in Attachment
that contains a single EditorView
."},"Protocols/BoundsObserving.html":{"name":"BoundsObserving","abstract":"
Describes an object interested in observing the bounds of a view. Attachment
is BoundsObserving
and reacts to"},"Protocols/EditorViewDelegate.html":{"name":"EditorViewDelegate","abstract":"
Describes an object interested in listening to events raised from EditorView
"},"Protocols/EditorCommand.html":{"name":"EditorCommand","abstract":"Describes a command that can be executed on EditorView
. A command may be invoked directly on the editor
by providing an instance."},"Protocols/EditorTextEncoding.html":{"name":"EditorTextEncoding","abstract":"
Describes an encoder for a content type in Editor. This can be used in conjunction with AnyEditorTextEncoding
"},"Protocols/AttachmentEncoding.html":{"name":"AttachmentEncoding","abstract":"
Describes an object capable of encoding contents of at Attachment
An object capable of encoding EditorContent
to given type.
A generic encoder for encoding EditorContent
. You may create encoders for individual types of contents in the Editor
, and"},"Protocols/GridViewDelegate.html":{"name":"GridViewDelegate","abstract":"
An object capable of handing GridView
events
An object capable of intercepting and modifying the text and attributes in an EditorView
when registered with the EditorView
.
Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE4highSivpZ":{"name":"high","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE6mediumSivpZ":{"name":"medium","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/TextProcessingPriority.html#/s:Si6ProtonE3lowSivpZ":{"name":"low","abstract":"Undocumented
","parent_name":"TextProcessingPriority"},"Extensions/UITextRange.html#/s:So11UITextRangeC6ProtonE9toNSRange2inSo01_E0VSgSo0A5Input_p_tF":{"name":"toNSRange(in:)","abstract":"Converts this range to NSRange
. Returns nil if range cannot be converted.
Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE6isBoldSbvp":{"name":"isBold","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE9isItalicsSbvp":{"name":"isItalics","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE12isMonoSpacedSbvp":{"name":"isMonoSpaced","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE12isAppleEmojiSbvp":{"name":"isAppleEmoji","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE9textStyleSo0a4TextD0avp":{"name":"textStyle","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE21isNonDynamicTextStyleSbvp":{"name":"isNonDynamicTextStyle","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE8contains5traitSbSo0A24DescriptorSymbolicTraitsV_tF":{"name":"contains(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE7toggled5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"toggled(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE6adding5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"adding(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6ProtonE8removing5traitABSo0A24DescriptorSymbolicTraitsV_tF":{"name":"removing(trait:)","abstract":"Undocumented
","parent_name":"UIFont"},"Extensions/String.html#/s:SS6ProtonE11makeNSRange4fromSo01_C0VSnySS5IndexVG_tF":{"name":"makeNSRange(from:)","abstract":"Converts given Range to NSRange in this string.
","parent_name":"String"},"Extensions/String.html#/s:SS6ProtonE16rangeFromNSRange0B0SnySS5IndexVGSgSo01_D0V_tF":{"name":"rangeFromNSRange(range:)","abstract":"Created String Range from given NSRange. Returns nil if range cannot be converted.
","parent_name":"String"},"Extensions/String.html#/s:SS6ProtonE8rangesOf12characterSetSaySnySS5IndexVGG10Foundation09CharacterE0V_tF":{"name":"rangesOf(characterSet:)","abstract":"Returns ranges of given CharacterSet in this string.
","parent_name":"String"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE4zeroABvpZ":{"name":"zero","abstract":"Range with 0 location and length
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE19firstCharacterRangeABvp":{"name":"firstCharacterRange","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE18lastCharacterRangeABvp":{"name":"lastCharacterRange","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE12nextPositionABvp":{"name":"nextPosition","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE11endLocationSivp":{"name":"endLocation","abstract":"Undocumented
","parent_name":"NSRange"},"Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE11toTextRange9textInputSo06UITextE0CSgSo0hG0_p_tF":{"name":"toTextRange(textInput:)","abstract":"Converts the range to UITextRange
in given UITextInput
. Returns nil if the range is invalid in the UITextInput
.
Checks if the range is valid in given UITextInput
Shifts the range with given shift value
","parent_name":"NSRange"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonEyABSScfc":{"name":"init(_:)","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE9paragraphABvpZ":{"name":"paragraph","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE8viewOnlyABvpZ":{"name":"viewOnly","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE7newlineABvpZ":{"name":"newline","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE4textABvpZ":{"name":"text","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/EditorContentName.html#/s:So19PREditorContentNameC6ProtonE7unknownABvpZ":{"name":"unknown","abstract":"Undocumented
","parent_name":"EditorContentName"},"Extensions/NSParagraphStyle.html#/s:So16NSParagraphStyleC6ProtonE016mutableParagraphB0So09NSMutableeB0Cvp":{"name":"mutableParagraphStyle","abstract":"Creates a mutable copy of current style
","parent_name":"NSParagraphStyle"},"Extensions/NSParagraphStyle.html#/s:So16NSParagraphStyleC6ProtonE14lineFormattingAC04LineE0Vvp":{"name":"lineFormatting","abstract":"Returns LineFormatting
based on current style
Applying this attribute makes the range of text act as a single block/unit.","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE16blockContentTypeABvpZ":{"name":"blockContentType","abstract":"
Identifies block based attributes. A block acts as a container for other content types. For e.g. a Paragraph is a block content","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE17inlineContentTypeABvpZ":{"name":"inlineContentType","abstract":"
Identifies inline content attributes. An inline acts as a content in another content types. For e.g. an emoji is an inline content","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE15backgroundStyleABvpZ":{"name":"backgroundStyle","abstract":"
Additional style attribute for background color. Using this attribute in addition to backgroundColor
attribute allows applying","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE8listItemABvpZ":{"name":"listItem","abstract":"
Attribute denoting the range as a list item. This attribute enables use of ListTextProcessor
to indent/outdent list","parent_name":"Key"},"Extensions/NSAttributedString/Key.html#/s:So21NSAttributedStringKeya6ProtonE18skipNextListMarkerABvpZ":{"name":"skipNextListMarker","abstract":"
When applied to a new line char alongside listItem
attribute, skips the rendering of list marker on subsequent line.
Array of NSAttributedString.Key
that must be locked in the applied range.
Undocumented
","parent_name":"Key"},"Extensions/NSAttributedString/Key.html":{"name":"Key","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9asMutableSo019NSMutableAttributedB0Cvp":{"name":"asMutable","abstract":"Creates a mutable copy
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16addingAttributes_2toABSDySo0aB3KeyaypG_So8_NSRangeVSgtF":{"name":"addingAttributes(_:to:)","abstract":"Undocumented
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE17enumerateContents2ins11AnySequenceVyAC13EditorContentVGSo8_NSRangeVSg_tF":{"name":"enumerateContents(in:)","abstract":"Enumerates block contents in given range.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE23enumerateInlineContents2ins11AnySequenceVyAC13EditorContentVGSo8_NSRangeVSg_tF":{"name":"enumerateInlineContents(in:)","abstract":"Enumerates only inline content in given range.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16rangeOfCharacter4fromSo8_NSRangeVSg10Foundation0F3SetV_tF":{"name":"rangeOfCharacter(from:)","abstract":"Returns in range of CharacterSet from this string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9fullRangeSo8_NSRangeVvp":{"name":"fullRange","abstract":"Full range of this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE16attachmentRangesSayAC10AttachmentC0D0_So8_NSRangeV5rangetGvp":{"name":"attachmentRanges","abstract":"Collection of all the attachments with containing ranges in this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE8rangeFor10attachmentSo8_NSRangeVSgAC10AttachmentC_tF":{"name":"rangeFor(attachment:)","abstract":"Range of given attachment in this attributed string.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE8rangesOf12characterSetSaySo8_NSRangeVG10Foundation09CharacterG0V_tF":{"name":"rangesOf(characterSet:)","abstract":"Ranges of CharacterSet
in this attributed string.
Attributed substring in reverse direction.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE7rangeOf9attribute16startingLocation13reverseLookupSo8_NSRangeVSgSo0aB3Keya_SiSbtF":{"name":"rangeOf(attribute:startingLocation:reverseLookup:)","abstract":"Gets the next range of attribute starting at the given location in direction based on reverse lookup flag
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE7rangeOf9attribute2atSo8_NSRangeVSgSo0aB3Keya_SitF":{"name":"rangeOf(attribute:at:)","abstract":"Gets the complete range of attribute at the given location. The attribute is looked up in both forward and","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE14attributeValue3for2atxSgSo0aB3Keya_SitlF":{"name":"attributeValue(for:at:)","abstract":"
Gets the value of attribute at the given location, if present.
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC6ProtonE9substring4fromSSSo8_NSRangeV_tF":{"name":"substring(from:)","abstract":"Alternative to attributedSubstring(from:_).string
","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html":{"name":"NSAttributedString"},"Extensions/NSParagraphStyle.html":{"name":"NSParagraphStyle"},"Extensions/EditorContentName.html":{"name":"EditorContentName"},"Extensions/NSRange.html":{"name":"NSRange"},"Extensions/String.html":{"name":"String"},"Extensions/UIFont.html":{"name":"UIFont"},"Extensions/UITextRange.html":{"name":"UITextRange"},"Extensions/TextProcessingPriority.html":{"name":"TextProcessingPriority","abstract":"
Undocumented
"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO5fixedyAC14CoreFoundation7CGFloatVcACmF":{"name":"fixed(_:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO10fractionalyAC14CoreFoundation7CGFloatVcACmF":{"name":"fractional(_:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridColumnWidth.html#/s:6Proton15GridColumnWidthO5value7basedOn14CoreFoundation7CGFloatVAH_tF":{"name":"value(basedOn:)","abstract":"Undocumented
","parent_name":"GridColumnWidth"},"Enums/GridViewError.html#/s:6Proton13GridViewErrorO26failedToInsertInFrozenRowsyA2CmF":{"name":"failedToInsertInFrozenRows","abstract":"Undocumented
","parent_name":"GridViewError"},"Enums/GridViewError.html#/s:6Proton13GridViewErrorO29failedToInsertInFrozenColumnsyA2CmF":{"name":"failedToInsertInFrozenColumns","abstract":"Undocumented
","parent_name":"GridViewError"},"Enums/Indentation.html#/s:6Proton11IndentationO6indentyA2CmF":{"name":"indent","abstract":"Undocumented
","parent_name":"Indentation"},"Enums/Indentation.html#/s:6Proton11IndentationO7outdentyA2CmF":{"name":"outdent","abstract":"Undocumented
","parent_name":"Indentation"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO7defaultyA2CmF":{"name":"default","abstract":"Default controlled via autolayout.
","parent_name":"EditorHeight"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO3maxyAC14CoreFoundation7CGFloatVcACmF":{"name":"max(_:)","abstract":"Maximum height editor is allowed to grow to before it starts scrolling
","parent_name":"EditorHeight"},"Enums/EditorHeight.html#/s:6Proton12EditorHeightO8infiniteyA2CmF":{"name":"infinite","abstract":"Boundless height.
","parent_name":"EditorHeight"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO4textyACSo08PREditorC4NameC_So18NSAttributedStringCtcACmF":{"name":"text(name:attributedString:)","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO10attachmentyACSo08PREditorC4NameC_AA10AttachmentCSo6UIViewCAA0hD0OtcACmF":{"name":"attachment(name:attachment:contentView:type:)","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/EditorContentType.html#/s:6Proton17EditorContentTypeO8viewOnlyyA2CmF":{"name":"viewOnly","abstract":"Undocumented
","parent_name":"EditorContentType"},"Enums/AttachmentType.html#/s:6Proton14AttachmentTypeO5blockyA2CmF":{"name":"block","abstract":"Undocumented
","parent_name":"AttachmentType"},"Enums/AttachmentType.html#/s:6Proton14AttachmentTypeO6inlineyA2CmF":{"name":"inline","abstract":"Undocumented
","parent_name":"AttachmentType"},"Enums/EditorContentMode.html#/s:6Proton17EditorContentModeO6editoryA2CmF":{"name":"editor","abstract":"Undocumented
","parent_name":"EditorContentMode"},"Enums/EditorContentMode.html#/s:6Proton17EditorContentModeO8rendereryA2CmF":{"name":"renderer","abstract":"Undocumented
","parent_name":"EditorContentMode"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO5enteryA2CmF":{"name":"enter","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO9backspaceyA2CmF":{"name":"backspace","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/EditorKey.html#/s:6Proton9EditorKeyO3tabyA2CmF":{"name":"tab","abstract":"Undocumented
","parent_name":"EditorKey"},"Enums/ListLineMarker.html#/s:6Proton14ListLineMarkerO6stringyACSo18NSAttributedStringCcACmF":{"name":"string(_:)","abstract":"Undocumented
","parent_name":"ListLineMarker"},"Enums/ListLineMarker.html#/s:6Proton14ListLineMarkerO5imageyACSo7UIImageC_So6CGSizeVtcACmF":{"name":"image(_:size:)","abstract":"Undocumented
","parent_name":"ListLineMarker"},"Enums/BackgroundMode.html#/s:6Proton14BackgroundModeO9matchTextyA2CmF":{"name":"matchText","abstract":"Background matches the height/width of text
","parent_name":"BackgroundMode"},"Enums/BackgroundMode.html#/s:6Proton14BackgroundModeO9matchLineyA2CmF":{"name":"matchLine","abstract":"Background matches entire line irrespective of font height/used character width in the given line
","parent_name":"BackgroundMode"},"Enums/RoundedCornerStyle.html#/s:6Proton18RoundedCornerStyleO8absoluteyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"absolute(value:)","abstract":"Rounding based on an absolute value for corner radii
","parent_name":"RoundedCornerStyle"},"Enums/RoundedCornerStyle.html#/s:6Proton18RoundedCornerStyleO8relativeyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"relative(percent:)","abstract":"Rounding based on relative percent value of the content height. For e.g. 50% would provide a capsule appearance","parent_name":"RoundedCornerStyle"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO12matchContentyA2CmF":{"name":"matchContent","abstract":"
Matches the size of the content view of attachment. Content view must provide size to Attachment
using didChangeBounds(:)
.
Takes up full width of the containing EditorView
. Resizes automatically when size of the container changes for e.g. when device is rotated. Height is dynamic based on content.
Fixed width attachment irrespective of content size of the contained view. Height is dynamic based on content.
","parent_name":"AttachmentSize"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO5rangeyAC14CoreFoundation7CGFloatV_AGtcACmF":{"name":"range(minWidth:maxWidth:)","abstract":"Width of attachment is locked between the min and max. Height is dynamic based on content.
","parent_name":"AttachmentSize"},"Enums/AttachmentSize.html#/s:6Proton14AttachmentSizeO7percentyAC14CoreFoundation7CGFloatV_tcACmF":{"name":"percent(width:)","abstract":"Width in percent based on the size of containing EditorView
. Absolute value of width changes if the size of the container changes for e.g. when device is rotated. Height is dynamic based on content.
Undocumented
","parent_name":"AsyncTextResolvingResult"},"Enums/AsyncTextResolvingResult.html#/s:6Proton24AsyncTextResolvingResultO7discardyA2CmF":{"name":"discard","abstract":"Undocumented
","parent_name":"AsyncTextResolvingResult"},"Enums/AsyncTextResolvingResult.html":{"name":"AsyncTextResolvingResult","abstract":"Result type for async text resolution
"},"Enums/AttachmentSize.html":{"name":"AttachmentSize","abstract":"Rendering size of the Attachment
Rounding style for backgroundStyle
attribute
Defines the mode for height/width used for the background for the text
"},"Enums/ListLineMarker.html":{"name":"ListLineMarker","abstract":"Marker for the list item
"},"Enums/EditorKey.html":{"name":"EditorKey","abstract":"Undocumented
"},"Enums/EditorContentMode.html":{"name":"EditorContentMode","abstract":"Content mode for Editor
. This may be used while decoding the content for the Editor/Renderer to let the Decoder know"},"Enums/AttachmentType.html":{"name":"AttachmentType","abstract":"
Type of attachment
"},"Enums/EditorContentType.html":{"name":"EditorContentType","abstract":"Type of EditorContent
Defines the height for the Editor
"},"Enums/Indentation.html":{"name":"Indentation","abstract":"Undocumented
"},"Enums/GridViewError.html":{"name":"GridViewError","abstract":"Undocumented
"},"Enums/GridColumnWidth.html":{"name":"GridColumnWidth","abstract":"Undocumented
"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP4nameSSvp":{"name":"name","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton17ListTextProcessorCACycfc":{"name":"init()","abstract":"Initializes text processor.
","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton17ListTextProcessorC8prioritySivp":{"name":"priority","abstract":"Priority of the text processor.
","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP13shouldProcess_0deB2In011replacementB0SbAA10EditorViewC_So8_NSRangeVSStF":{"name":"shouldProcess(_:shouldProcessTextIn:replacementText:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP18processInterrupted6editor2atyAA10EditorViewC_So8_NSRangeVtF":{"name":"processInterrupted(editor:at:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP7process6editor5range14changeInLengthSbAA10EditorViewC_So8_NSRangeVSitF":{"name":"process(editor:range:changeInLength:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP22handleKeyWithModifiers6editor3key13modifierFlags5rangeyAA10EditorViewC_AA0mE0OSo013UIKeyModifierK0VSo8_NSRangeVtF":{"name":"handleKeyWithModifiers(editor:key:modifierFlags:range:)","parent_name":"ListTextProcessor"},"Classes/ListTextProcessor.html#/s:6Proton14TextProcessingP10didProcess6editoryAA10EditorViewC_tF":{"name":"didProcess(editor:)","parent_name":"ListTextProcessor"},"Classes/GridView.html#/s:6Proton8GridViewC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"Delegate for GridView
which can be used to handle cell specific EditorView
events
Determines if column resizing handles are visible or not.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"Bounds observer for the GridView
. Typically, this will be the Attachment
that hosts the GridView
.
Selection color for the GridView
. Defaults to tintColor
Determines if GridView
is selected or not.
Allows scrolling grid in any direction. Defaults to false
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC20frozenColumnMaxIndexSiSgvp":{"name":"frozenColumnMaxIndex","abstract":"
Maximum index up till which columns are frozen. Columns are frozen from 0 to this index value.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC17frozenRowMaxIndexSiSgvp":{"name":"frozenRowMaxIndex","abstract":"Maximum index up till which rows are frozen. Rows are frozen from 0 to this index value.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC21containsFrozenColumnsSbvp":{"name":"containsFrozenColumns","abstract":"Determines if there are any frozen columns in the GridView
Determines if there are any frozen rows in the GridView
Collection of cells contained in the GridView
Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC15numberOfColumnsSivp":{"name":"numberOfColumns","abstract":"Number of columns in the GridView
.
Number of rows in the GridView
Initializes GridView
using the provided configuration.
Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC17setColumnResizingyySbF":{"name":"setColumnResizing(_:)","abstract":"Enables or disables column resizing
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC24isCellSelectionMergeableySbSayAA0bE0CGF":{"name":"isCellSelectionMergeable(_:)","abstract":"Determines if the collection of cells can be merged. For cells to be mergable, they need to","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC5merge5cellsySayAA0B4CellCG_tF":{"name":"merge(cells:)","abstract":"
Merges the cells if the collection is mergeable.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC5split4cellyAA0B4CellC_tF":{"name":"split(cell:)","abstract":"Splits the cell into original constituent cells from earlier Merge operation.","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC9insertRow2at13configurations6ResultOySayAA0B4CellCGAA0bC5ErrorOGSi_AA0bE13ConfigurationVtF":{"name":"insertRow(at:configuration:)","abstract":"
Inserts a new row at given index.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12insertColumn2at13configurations6ResultOySayAA0B4CellCGAA0bC5ErrorOGSi_AA0bE13ConfigurationVtF":{"name":"insertColumn(at:configuration:)","abstract":"Inserts a new column at given index.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC9deleteRow2atySi_tF":{"name":"deleteRow(at:)","abstract":"Deletes the row at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12deleteColumn2atySi_tF":{"name":"deleteColumn(at:)","abstract":"Deletes the column at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC13freezeColumns4upToySi_tF":{"name":"freezeColumns(upTo:)","abstract":"Freezes all the columns from 0 to the index provided
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10freezeRows4upToySi_tF":{"name":"freezeRows(upTo:)","abstract":"Freezes all the rows from 0 to the index provided
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC15unfreezeColumnsyyF":{"name":"unfreezeColumns()","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC12unfreezeRowsyyF":{"name":"unfreezeRows()","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC11collapseRow2atySi_tF":{"name":"collapseRow(at:)","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC6cellAt8rowIndex06columnG0AA0B4CellCSgSi_SitF":{"name":"cellAt(rowIndex:columnIndex:)","abstract":"Gets the cell at given row and column index. Indexes may be contained in a merged cell.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC14scrollToCellAt8rowIndex06columnI08animatedySi_SiSbtF":{"name":"scrollToCellAt(rowIndex:columnIndex:animated:)","abstract":"Scrolls the cell at given index into viewable area. Indexes may be contained in a merged cell.
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10applyStyle_5toRowyAA0b4CellE0V_SitF":{"name":"applyStyle(_:toRow:)","abstract":"Applies style to row at given index
","parent_name":"GridView"},"Classes/GridView.html#/s:6Proton8GridViewC10applyStyle_8toColumnyAA0b4CellE0V_SitF":{"name":"applyStyle(_:toColumn:)","abstract":"Applies style to column at given index
","parent_name":"GridView"},"Classes/GridView.html#/c:@CM@Proton@objc(cs)GridView(im)scrollViewDidScroll:":{"name":"scrollViewDidScroll(_:)","abstract":"Undocumented
","parent_name":"GridView"},"Classes/GridCell.html#/s:6Proton8GridCellC7rowSpanSaySiGvp":{"name":"rowSpan","abstract":"Row indexes spanned by the cell. In case of a merged cell, this will contain all the rows= indexes which are merged.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC10columnSpanSaySiGvp":{"name":"columnSpan","abstract":"Column indexes spanned by the cell. In case of a merged cell, this will contain all the column indexes which are merged.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC5frameSo6CGRectVvp":{"name":"frame","abstract":"Frame of the cell within GridView
Sets the cell selected
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC6editorAA10EditorViewCvp":{"name":"editor","abstract":"Editor within the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC12isSplittableSbvp":{"name":"isSplittable","abstract":"Denotes if the cell can be split i.e. is a merged cell.
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC11contentSizeSo6CGSizeVvp":{"name":"contentSize","abstract":"Content size of the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC11contentViewSo6UIViewCvp":{"name":"contentView","abstract":"Content view for the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC9gridStyleAA0bE0Vvp":{"name":"gridStyle","abstract":"Undocumented
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC7rowSpan06columnE013initialHeight5style9gridStyleACSaySiG_AI14CoreFoundation7CGFloatVAA0bcK0VAA0bK0Vtcfc":{"name":"init(rowSpan:columnSpan:initialHeight:style:gridStyle:)","abstract":"Undocumented
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton8GridCellC8setFocusyyF":{"name":"setFocus()","abstract":"Sets the focus in the Editor
within the cell.
Removes the focus from the Editor
within the cell.
Applies the given style to the cell
","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton15BoundsObservingP09didChangeB0_03oldB0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_17didReceiveFocusAtyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didReceiveFocusAt:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_16didLoseFocusFromyAA0bC0C_So8_NSRangeVtF":{"name":"editor(_:didLoseFocusFrom:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_16didTapAtLocation14characterRangeyAA0bC0C_So7CGPointVSo8_NSRangeVSgtF":{"name":"editor(_:didTapAtLocation:characterRange:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_20didChangeSelectionAt10attributes11contentTypeyAA0bC0C_So8_NSRangeVSDySo21NSAttributedStringKeyaypGSo19PREditorContentNameCtF":{"name":"editor(_:didChangeSelectionAt:attributes:contentType:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:6Proton18EditorViewDelegateP6editor_13didReceiveKey2atyAA0bC0C_AA0bH0OSo8_NSRangeVtF":{"name":"editor(_:didReceiveKey:at:)","parent_name":"GridCell"},"Classes/GridCell.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"GridCell"},"Classes/EditorCommandExecutor.html#/s:6Proton21EditorCommandExecutorC7contextAcA0B11ViewContextC_tcfc":{"name":"init(context:)","abstract":"Initializes the EditorCommandExecutor
Executes the given command on the active EditorView
having the same Context
as the Command Executor. EditorCommand
will be executed only","parent_name":"EditorCommandExecutor"},"Classes/UnderlineCommand.html#/s:6Proton16UnderlineCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"UnderlineCommand"},"Classes/StrikethroughCommand.html#/s:6Proton20StrikethroughCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"StrikethroughCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"ListOutdentCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandC4nameAA0D4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListOutdentCommand"},"Classes/ListOutdentCommand.html#/s:6Proton18ListOutdentCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"Outdents a list item if it supports reversing indentation. When applied on an item at first level, it will remove item from the list.","parent_name":"ListOutdentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"ListIndentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandC4nameAA0D4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListIndentCommand"},"Classes/ListIndentCommand.html#/s:6Proton17ListIndentCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"Indents a list item if it supports indentation (e.g. unsupported item may mean item at first level)","parent_name":"ListIndentCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandCACycfc":{"name":"init()","abstract":"
Undocumented
","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC4nameAA0C4NameVvp":{"name":"name","abstract":"Name of the command
","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC14attributeValueypSgvp":{"name":"attributeValue","abstract":"Value to be set for attribute .listItem
when applying to a range of text.","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC7execute2onyAA10EditorViewC_tF":{"name":"execute(on:)","abstract":"
Executes the command with value of attributeValue
for .listItem
attribute. If the attributeValue
is nil, executing","parent_name":"ListCommand"},"Classes/ListCommand.html#/s:6Proton11ListCommandC7execute2on14attributeValueyAA10EditorViewC_ypSgtF":{"name":"execute(on:attributeValue:)","abstract":"
Executes the command with value of attributeValue
for .listItem
attribute.
Undocumented
","parent_name":"ItalicsCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton22FontTraitToggleCommandC5traitSo30UIFontDescriptorSymbolicTraitsVvp":{"name":"trait","abstract":"Undocumented
","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton13EditorCommandP4nameAA0C4NameVvp":{"name":"name","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton22FontTraitToggleCommandC4name5traitAcA0E4NameV_So30UIFontDescriptorSymbolicTraitsVtcfc":{"name":"init(name:trait:)","abstract":"Undocumented
","parent_name":"FontTraitToggleCommand"},"Classes/FontTraitToggleCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","parent_name":"FontTraitToggleCommand"},"Classes/BoldCommand.html#/s:6Proton11BoldCommandCACycfc":{"name":"init()","abstract":"Undocumented
","parent_name":"BoldCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton23AttributesToggleCommandC10attributesSDySo21NSAttributedStringKeyaypGvp":{"name":"attributes","abstract":"Undocumented
","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton13EditorCommandP4nameAA0C4NameVvp":{"name":"name","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton23AttributesToggleCommandC4name10attributesAcA0D4NameV_SDySo21NSAttributedStringKeyaypGtcfc":{"name":"init(name:attributes:)","abstract":"Undocumented
","parent_name":"AttributesToggleCommand"},"Classes/AttributesToggleCommand.html#/s:6Proton13EditorCommandP7execute2onyAA0B4ViewC_tF":{"name":"execute(on:)","parent_name":"AttributesToggleCommand"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC2idSSvp":{"name":"id","abstract":"Identifies the EditorViewContext
uniquely.
Friendly name for the context. It is possible to create multiple EditorViewContext
using the same name.","parent_name":"EditorViewContext"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"
EditorView delegate at context level. This delegate will be notified about events in all the Editors that share this particular context.","parent_name":"EditorViewContext"},"Classes/EditorViewContext.html#/s:6Proton17EditorViewContextC6sharedACvpZ":{"name":"shared","abstract":"
Default shared context. Use this in case there is only a single EditorView
on the screen at the root level.
EditorView
for this context that is currently active.
Initializes a new context
","parent_name":"EditorViewContext"},"Classes/EditorView.html#/s:6Proton10EditorViewC06editorC7ContextAA0bcE0Cvp":{"name":"editorViewContext","abstract":"Context for the current Editor
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textInteractionsSaySo17UITextInteractionCGvp":{"name":"textInteractions","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC04textC8GesturesSaySo19UIGestureRecognizerCGvp":{"name":"textViewGestures","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC26textDragInteractionEnabledSbvp":{"name":"textDragInteractionEnabled","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)bounds":{"name":"bounds","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC8delegateAA0bC8Delegate_pSgvp":{"name":"delegate","abstract":"An object interested in responding to editing and focus related events in the EditorView
.
List formatting provider to be used for rendering lists in the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18registeredCommandsSayAA0B7Command_pGSgvp":{"name":"registeredCommands","abstract":"List of commands supported by the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18asyncTextResolversSayAA05AsyncE9Resolving_pGvp":{"name":"asyncTextResolvers","abstract":"Async Text Resolvers supported by the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5frame7context16allowAutogrowingACSo6CGRectV_AA0bC7ContextCSbtcfc":{"name":"init(frame:context:allowAutogrowing:)","abstract":"Initializes the EditorView
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC020editorInputAccessoryC0So6UIViewCSgvp":{"name":"editorInputAccessoryView","abstract":"Input accessory view to be used
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC011editorInputC0So6UIViewCSgvp":{"name":"editorInputView","abstract":"Input view to be used
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)initWithCoder:":{"name":"init(coder:)","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20registeredProcessorsSayAA14TextProcessing_pGvp":{"name":"registeredProcessors","abstract":"List of all the registered TextProcessors
in the EditorView
. This may be used by nested EditorView
to inherit all the","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17selectedTextRangeSo06UITextF0CSgvp":{"name":"selectedTextRange","abstract":"
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15placeholderTextSo18NSAttributedStringCSgvp":{"name":"placeholderText","abstract":"Placeholder text for the EditorView
. The value can contain any attributes which is natively","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12contentInsetSo12UIEdgeInsetsVvp":{"name":"contentInset","abstract":"
Gets or sets insets for additional scroll area around the content. Default value is UIEdgeInsetsZero.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC29verticalScrollIndicatorInsetsSo06UIEdgeG0Vvp":{"name":"verticalScrollIndicatorInsets","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19keyboardDismissModeSo08UIScrollc8KeyboardeF0Vvp":{"name":"keyboardDismissMode","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15isScrollEnabledSbvp":{"name":"isScrollEnabled","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18textContainerInsetSo12UIEdgeInsetsVvp":{"name":"textContainerInset","abstract":"Gets or sets the insets for the text container’s layout area within the editor’s content area
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17dataDetectorTypesSo06UIDataeF0Vvp":{"name":"dataDetectorTypes","abstract":"The types of data converted to tappable URLs in the editor view.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13contentLengthSivp":{"name":"contentLength","abstract":"Length of content within the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC10isEditableSbvp":{"name":"isEditable","abstract":"Determines if the EditorView
is editable or not.
Determines if the editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17currentLayoutLineAA0bF0VSgvp":{"name":"currentLayoutLine","abstract":"Current line information based the caret position or selected range. If the selected range spans across multiple","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15firstLayoutLineAA0bF0VSgvp":{"name":"firstLayoutLine","abstract":"
First line of content based on layout in the Editor. Nil if editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14lastLayoutLineAA0bF0VSgvp":{"name":"lastLayoutLine","abstract":"Last line of content based on layout in the Editor. Nil if editor is empty.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12selectedTextSo18NSAttributedStringCvp":{"name":"selectedText","abstract":"Selected text in the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)backgroundColor":{"name":"backgroundColor","abstract":"Background color for the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)font":{"name":"font","abstract":"Default font to be used by the Editor. A font may be overridden on whole or part of content in EditorView
by an EditorCommand
or","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle":{"name":"paragraphStyle","abstract":"
Default paragraph style to be used by the Editor. The style may be overridden on whole or part of content in","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)textColor":{"name":"textColor","abstract":"
Default text color to be used by the Editor. The color may be overridden on whole or part of content in","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC9maxHeightAA0bE0Ovp":{"name":"maxHeight","abstract":"
Maximum height that the EditorView
can expand to. After reaching the maximum specified height, the editor becomes scrollable.
Forces setting attributed text in EditorView
even if it is not","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14attributedTextSo18NSAttributedStringCvp":{"name":"attributedText","abstract":"
Text to be set in the EditorView
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16typingAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"typingAttributes","abstract":"Typing attributes to be used. Automatically resets when the selection changes.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14boundsObserverAA15BoundsObserving_pSgvp":{"name":"boundsObserver","abstract":"
An object interested in observing the changes in bounds of the Editor
, typically an Attachment
.
Gets and sets the content offset.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18linkTextAttributesSDySo21NSAttributedStringKeyaypGSgvp":{"name":"linkTextAttributes","abstract":"The attributes to apply to links.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12textEndRangeSo8_NSRangeVvp":{"name":"textEndRange","abstract":"Range of end of text in the EditorView
. The range has always has length of 0.
Determines if the current Editor is contained in an attachment
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC11contentNameSo015PREditorContentE0CSgvp":{"name":"contentName","abstract":"Name of the content if the Editor is contained within an Attachment
.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12visibleRangeSo8_NSRangeVvp":{"name":"visibleRange","abstract":"
Returns the visible text range.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19containerAttachmentAA0E0CSgvp":{"name":"containerAttachment","abstract":"Attachment containing the current Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12nestingLevelSivp":{"name":"nestingLevel","abstract":"Nesting level of current Editor within other attachments containing Editors.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC04rootB0ACvp":{"name":"rootEditor","abstract":"
Returns the root editor of the current Editor. Returns self
where the current editor is not contained within an Attachment
.
EditorView
containing the current EditorView
in an Attachment
Clears the contents in the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC22autocapitalizationTypeSo024UITextAutocapitalizationE0Vvp":{"name":"autocapitalizationType","abstract":"The auto-capitalization style for the text object.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18autocorrectionTypeSo020UITextAutocorrectionE0Vvp":{"name":"autocorrectionType","abstract":"
The autocorrection style for the text object.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17spellCheckingTypeSo011UITextSpelleF0Vvp":{"name":"spellCheckingType","abstract":"
The spell-checking style for the text object.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15smartQuotesTypeSo011UITextSmarteF0Vvp":{"name":"smartQuotesType","abstract":"The configuration state for smart quotes.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15smartDashesTypeSo011UITextSmarteF0Vvp":{"name":"smartDashesType","abstract":"The configuration state for smart dashes.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC21smartInsertDeleteTypeSo011UITextSmartefG0Vvp":{"name":"smartInsertDeleteType","abstract":"The configuration state for the smart insertion and deletion of space characters.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12keyboardTypeSo010UIKeyboardE0Vvp":{"name":"keyboardType","abstract":"The keyboard style associated with the text object.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18keyboardAppearanceSo010UIKeyboardE0Vvp":{"name":"keyboardAppearance","abstract":"The appearance style of the keyboard that is associated with the text object
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13returnKeyTypeSo08UIReturneF0Vvp":{"name":"returnKeyType","abstract":"The visible title of the Return key.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC29enablesReturnKeyAutomaticallySbvp":{"name":"enablesReturnKeyAutomatically","abstract":"A Boolean value indicating whether the Return key is automatically enabled when the user is entering text.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17isSecureTextEntrySbvp":{"name":"isSecureTextEntry","abstract":"
Identifies whether the text object should disable text copying and in some cases hide the text being entered.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15textContentTypeSo06UITexteF0aSgvp":{"name":"textContentType","abstract":"
The semantic meaning expected by a text input area.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC27allowsEditingTextAttributesSbvp":{"name":"allowsEditingTextAttributes","abstract":"
A Boolean value indicating whether the text view allows the user to edit style information.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12isSelectableSbvp":{"name":"isSelectable","abstract":"A Boolean value indicating whether the receiver is selectable.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textDragDelegateSo06UITexteF0_pSgvp":{"name":"textDragDelegate","abstract":"
A text drag delegate object for customizing the drag source behavior of a text view.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16textDropDelegateSo06UITexteF0_pSgvp":{"name":"textDropDelegate","abstract":"The text drop delegate for interacting with a drop activity in the text view.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)didMoveToWindow":{"name":"didMoveToWindow()","abstract":"Subclasses can override it to perform additional actions whenever the window changes.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)sizeThatFits:":{"name":"sizeThatFits(_:)","abstract":"Asks the view to calculate and return the size that best fits the specified size.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)becomeFirstResponder":{"name":"becomeFirstResponder()","abstract":"Asks UIKit to make this object the first responder in its window.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC11markedRangeSo8_NSRangeVSgvp":{"name":"markedRange","abstract":"The range of currently marked text in a document.","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC13setAttributes_2atySDySo21NSAttributedStringKeyaypG_So8_NSRangeVtF":{"name":"setAttributes(_:at:)","abstract":"
Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC21getFullAttributedText5using2inSo18NSAttributedStringCAA27AttachmentContentIdentifierV_So8_NSRangeVSgtF":{"name":"getFullAttributedText(using:in:)","abstract":"Returns the full attributed text contained in the EditorView
along with the ones in editors nested in contained Attachments.
Sets async text resolution to resolve on next text layout pass.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC24resolveAsyncTextIfNeededyyF":{"name":"resolveAsyncTextIfNeeded()","abstract":"Invokes async text resolution to resolve on demand.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16rangeOfCharacter2atSo8_NSRangeVSgSo7CGPointV_tF":{"name":"rangeOfCharacter(at:)","abstract":"Returns the range of character at the given point
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19contentLinesInRangeySayAA0B4LineVGSo8_NSRangeVF":{"name":"contentLinesInRange(_:)","abstract":"Gets the lines separated by newline characters from the given range.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19previousContentLine4fromAA0bF0VSgSi_tF":{"name":"previousContentLine(from:)","abstract":"Gets the previous line of content from the given location. A content line is defined by the presence of a","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15nextContentLine4fromAA0bF0VSgSi_tF":{"name":"nextContentLine(from:)","abstract":"
Gets the next line of content from the given location. A content line is defined by the presence of a","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15layoutLineAfteryAA0bE0VSgAFF":{"name":"layoutLineAfter(_:)","abstract":"
Gets the line preceding the given line. Nil if the given line is invalid or is first line
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16layoutLineBeforeyAA0bE0VSgAFF":{"name":"layoutLineBefore(_:)","abstract":"Gets the line before the given line. Nil if the given line is invalid or is first line
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5rects3forSaySo6CGRectVGSo8_NSRangeV_tF":{"name":"rects(for:)","abstract":"Returns the rectangles for line fragments spanned by the range. Based on the span of the range,","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC9caretRect3forSo6CGRectVSi_tF":{"name":"caretRect(for:)","abstract":"
Returns the caret rectangle for given position in the editor content.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC4word2atSo18NSAttributedStringCSgSi_tF":{"name":"word(at:)","abstract":"Gets the word from text at given location in editor content
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17attributeRangeFor_2atSo8_NSRangeVSgSo21NSAttributedStringKeya_SitF":{"name":"attributeRangeFor(_:at:)","abstract":"Gets the full range of attribute at given location.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC14deleteBackwardyyF":{"name":"deleteBackward()","abstract":"Deletes text backwards
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16insertAttachment2in10attachmentySo8_NSRangeV_AA0E0CtF":{"name":"insertAttachment(in:attachment:)","abstract":"Inserts an Attachment
in the EditorView
.
Sets the focus in the EditorView
Makes the EditorView
lose focus.
Makes the EditorView
scroll to given range such that it is visible. No-op if the range is already visible.
Makes the EditorView
scroll to given range such that it is visible. No-op if the range is already visible.
Gets the contents within the Editor
.
Transforms EditorContent
into given type. This function can also be used to encode content into a different type for e.g. encoding the contents to JSON. Encoding","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_So18NSAttributedStringCtF":{"name":"replaceCharacters(in:with:)","abstract":"
Replaces the given range of content with the attributedString provided.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_SStF":{"name":"replaceCharacters(in:with:)","abstract":"Replaces the characters in the given range with the string provided.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16appendCharactersyySo18NSAttributedStringCF":{"name":"appendCharacters(_:)","abstract":"Appends the given attributed text to the end of content in EditorView
.
Appends the given attributed text to the end of content in EditorView
.
Registers the given text processor with the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19unregisterProcessoryyAA14TextProcessing_pF":{"name":"unregisterProcessor(_:)","abstract":"Unregisters the given text processor from the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18registerProcessorsyySayAA14TextProcessing_pGF":{"name":"registerProcessors(_:)","abstract":"Registers the given text processors with the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20unregisterProcessorsyySayAA14TextProcessing_pGF":{"name":"unregisterProcessors(_:)","abstract":"Unregisters the given text processors from the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16registerCommandsyySayAA0B7Command_pGF":{"name":"registerCommands(_:)","abstract":"Registers the given commands with the Editor. Only registered commands can be executed if any is added to the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC18unregisterCommandsyySayAA0B7Command_pGF":{"name":"unregisterCommands(_:)","abstract":"Unregisters the given commands from the Editor. When all commands are unregistered, any command can be executed on the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15registerCommandyyAA0bE0_pF":{"name":"registerCommand(_:)","abstract":"Registers the given command with the Editor. Only registered commands can be executed if any is added to the Editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC17unregisterCommandyyAA0bE0_pF":{"name":"unregisterCommand(_:)","abstract":"Unregisters the given command from the Editor. When all commands are unregistered, any command can be executed on the editor.
","parent_name":"EditorView"},"Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(im)canPerformAction:withSender:":{"name":"canPerformAction(_:withSender:)","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC20canPerformMenuAction_10withSenderSb10ObjectiveC8SelectorV_ypSgtF":{"name":"canPerformMenuAction(_:withSender:)","abstract":"Determines if the given menu action can be invoked.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC5paste16attributedString4intoSbSo012NSAttributedF0C_So8_NSRangeVtF":{"name":"paste(attributedString:into:)","abstract":"This method attempt to simulate the paste
method but with explicitly provided attributed string and insertion range.
Adds given attributes to the range provided. If the range already contains a value for an attribute being provided,","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16removeAttributes_2atySaySo21NSAttributedStringKeyaG_So8_NSRangeVtF":{"name":"removeAttributes(_:at:)","abstract":"
Removes the given attributes from the range provided. If the attribute does not exist in the range, it will be a no-op.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC12addAttribute_5value2atySo21NSAttributedStringKeya_ypSo8_NSRangeVtF":{"name":"addAttribute(_:value:at:)","abstract":"Adds given attribute to the range provided. If the attribute already exists in the range, it will be overwritten with the new value provided here.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC15removeAttribute_2atySo21NSAttributedStringKeya_So8_NSRangeVtF":{"name":"removeAttribute(_:at:)","abstract":"Removes the attribute from given range. If the attribute does not exist in the range, it is a no-op.
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC16resolveAsyncTextyyF":{"name":"resolveAsyncText()","abstract":"Undocumented
","parent_name":"EditorView"},"Classes/EditorView.html#/s:6Proton10EditorViewC19isCommandRegisteredySbAA0E4NameVF":{"name":"isCommandRegistered(_:)","abstract":"Determines if the given command can be executed on the current editor. The command is allowed to be executed if","parent_name":"EditorView"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"
Background color
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC013roundedCornerC0AA07RoundedeC0Ovp":{"name":"roundedCornerStyle","abstract":"Rounding style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6borderAA06BorderC0CSgvp":{"name":"border","abstract":"Optional border style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6shadowAA06ShadowC0CSgvp":{"name":"shadow","abstract":"Optional shadow style for the background
","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC18hasSquaredOffJoinsSbvp":{"name":"hasSquaredOffJoins","abstract":"Determines if the background has squared off joins at the point of wrapping of content.","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC10heightModeAA0bE0Ovp":{"name":"heightMode","abstract":"
Defines if the background should be drawn based on height of text range with style, or that of the height of line fragment containing","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC9widthModeAA0bE0Ovp":{"name":"widthMode","abstract":"
Defines if the background should be drawn based on width of text range with style, or that of the entire width of line fragment containing","parent_name":"BackgroundStyle"},"Classes/BackgroundStyle.html#/s:6Proton15BackgroundStyleC6insetsSo12UIEdgeInsetsVvp":{"name":"insets","abstract":"
Insets for drawn background. Defaults to .zero
Undocumented
","parent_name":"BackgroundStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"Color of border
","parent_name":"BorderStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC9lineWidth14CoreFoundation7CGFloatVvp":{"name":"lineWidth","abstract":"Width of the border
","parent_name":"BorderStyle"},"Classes/BorderStyle.html#/s:6Proton11BorderStyleC9lineWidth5colorAC14CoreFoundation7CGFloatV_So7UIColorCtcfc":{"name":"init(lineWidth:color:)","abstract":"Undocumented
","parent_name":"BorderStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC5colorSo7UIColorCvp":{"name":"color","abstract":"Color of the shadow
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC6offsetSo6CGSizeVvp":{"name":"offset","abstract":"Shadow offset
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC4blur14CoreFoundation7CGFloatVvp":{"name":"blur","abstract":"Shadow blur
","parent_name":"ShadowStyle"},"Classes/ShadowStyle.html#/s:6Proton11ShadowStyleC5color6offset4blurACSo7UIColorC_So6CGSizeV14CoreFoundation7CGFloatVtcfc":{"name":"init(color:offset:blur:)","abstract":"Undocumented
","parent_name":"ShadowStyle"},"Classes/Attachment.html#/s:6Proton10AttachmentC18selectBeforeDeleteSbvp":{"name":"selectBeforeDelete","abstract":"Governs if the attachment should be selected before being deleted. When true
, tapping the backspace key the first time on range containing Attachment
will only","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6stringSo18NSAttributedStringCvp":{"name":"string","abstract":"
Attributed string representation of the Attachment
. This can be used directly to replace a range of text in EditorView
Name of the content contained within the Attachment
Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC19containerEditorViewAA0dE0CSgvp":{"name":"containerEditorView","abstract":"EditorView
containing this attachment
Offsets for the attachment. Can be used to align attachment with the text. Defaults to .zero
Name of the content for the EditorView
Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC15containerBoundsSo6CGRectVSgvp":{"name":"containerBounds","abstract":"Bounds of the container
","parent_name":"Attachment"},"Classes/Attachment.html#/c:@M@Proton@objc(cs)Attachment(py)bounds":{"name":"bounds","abstract":"The bounds rectangle, which describes the attachment’s location and size in its own coordinate system.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC5imageAcA0B5ImageV_tcfc":{"name":"init(image:)","abstract":"Initializes an attachment with the image provided.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC_4sizeAcA0B15TypeIdentifying_AA013EditorContentE0So6UIViewCXc_AA0B4SizeOtcfc":{"name":"init(_:size:)","abstract":"Initializes the attachment with the given content view
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC15didChangeBounds_03oldE0ySo6CGRectV_AGtF":{"name":"didChangeBounds(_:oldBounds:)","abstract":"Causes invalidation of layout of the attachment when the containing view bounds are changed
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC19removeFromContaineryyF":{"name":"removeFromContainer()","abstract":"Removes this attachment from the EditorView
it is contained in.
Range of this attachment in it’s container
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC32addedAttributesOnContainingRange16rangeInContainer10attributesySo8_NSRangeV_SDySo21NSAttributedStringKeyaypGtF":{"name":"addedAttributesOnContainingRange(rangeInContainer:attributes:)","abstract":"Invoked when attributes are added in the containing EditorView
in the range of string in which this attachment is contained.
Returns the calculated bounds for the attachment based on size rule and content view provided during initialization.
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6update4withyAA0B5ImageV_tF":{"name":"update(with:)","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC6update_4sizeyAA0B15TypeIdentifying_AA013EditorContentF0So6UIViewCXc_AA0B4SizeOtF":{"name":"update(_:size:)","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC40getFullTextRangeIdentificationAttributesSDySo21NSAttributedStringKeyaypGyF":{"name":"getFullTextRangeIdentificationAttributes()","abstract":"Undocumented
","parent_name":"Attachment"},"Classes/Attachment.html#/s:6Proton10AttachmentC16invalidateLayoutyyF":{"name":"invalidateLayout()","abstract":"Invalidates the current layout and triggers a layout update.
","parent_name":"Attachment"},"Classes/Attachment.html":{"name":"Attachment","abstract":"An attachment can be used as a container for any view object. Based on the AttachmentSize
provided, the attachment automatically renders itself alongside the text in EditorView
."},"Classes/ShadowStyle.html":{"name":"ShadowStyle","abstract":"
Shadow style for backgroundStyle
attribute
Border style for backgroundStyle
attribute
Style for background color attribute. Adding backgroundStyle
attribute will add border, background and shadow"},"Classes/EditorView.html":{"name":"EditorView","abstract":"
A scrollable, multiline text region capable of resizing itself based of the height of the content. Maximum height of EditorView
"},"Classes/EditorViewContext.html":{"name":"EditorViewContext","abstract":"
Describes the context for the EditorView
. A context is used to execute the commands using EditorCommandExecutor
. In a typical scenario, where there are"},"Classes/AttributesToggleCommand.html":{"name":"AttributesToggleCommand","abstract":"
Editor command that toggles given attributes in selected range in the Editor.
"},"Classes/BoldCommand.html":{"name":"BoldCommand","abstract":"Editor command that toggles Bold attribute to the selected range in the Editor.
"},"Classes/FontTraitToggleCommand.html":{"name":"FontTraitToggleCommand","abstract":"Editor command that toggles given font trait to the selected range in the Editor.
"},"Classes/ItalicsCommand.html":{"name":"ItalicsCommand","abstract":"Editor command that toggles Italics attribute to the selected range in the Editor.
"},"Classes/ListCommand.html":{"name":"ListCommand","abstract":"Command that can be used to toggle list attributes of selected range of text."},"Classes/ListIndentCommand.html":{"name":"ListIndentCommand","abstract":"
Command that can be used to toggle list indentation of selected range of text.
"},"Classes/ListOutdentCommand.html":{"name":"ListOutdentCommand","abstract":"Command that can be used to toggle list indentation of selected range of text.
"},"Classes/StrikethroughCommand.html":{"name":"StrikethroughCommand","abstract":"Undocumented
"},"Classes/UnderlineCommand.html":{"name":"UnderlineCommand","abstract":"Undocumented
"},"Classes/EditorCommandExecutor.html":{"name":"EditorCommandExecutor","abstract":"EditorCommandExecutor
manages all the EditorView
in the main EditorView
. Sub editors may have been added as Attachment
in the EditorView
."},"Classes/GridCell.html":{"name":"GridCell","abstract":"
Denotes a cell in the GridView
A view that provides a tabular structure where each cell is an EditorView
."},"Classes/ListTextProcessor.html":{"name":"ListTextProcessor","abstract":"
Text process capable of processing keyboard inputs specific to lists. ListTextProcessor
only works after a range of text"},"Classes.html":{"name":"Classes","abstract":"
The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}} \ No newline at end of file diff --git a/docs/undocumented.json b/docs/undocumented.json index 30ca0f82..8bba7872 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -457,109 +457,95 @@ }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 135, + "line": 140, "symbol": "EditorView.textInteractions", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 140, + "line": 145, "symbol": "EditorView.textViewGestures", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 145, + "line": 150, "symbol": "EditorView.textDragInteractionEnabled", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 150, + "line": 155, "symbol": "EditorView.bounds", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 224, + "line": 229, "symbol": "EditorView.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 243, + "line": 248, "symbol": "EditorView.selectedTextRange", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 263, + "line": 268, "symbol": "EditorView.verticalScrollIndicatorInsets", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 268, + "line": 273, "symbol": "EditorView.keyboardDismissMode", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 273, + "line": 278, "symbol": "EditorView.isScrollEnabled", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 416, + "line": 435, "symbol": "EditorView.selectedRange", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 672, + "line": 703, "symbol": "EditorView.setAttributes(_:at:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 992, + "line": 1025, "symbol": "EditorView.canPerformAction(_:withSender:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorView.swift", - "line": 1231, + "line": 1264, "symbol": "EditorView.resolveAsyncText()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, - { - "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorViewDelegate.swift", - "line": 89, - "symbol": "EditorViewDelegate.editor(_:didLayout:)", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, - { - "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/Editor/EditorViewDelegate.swift", - "line": 102, - "symbol": "EditorViewDelegate.editor(_:didLayout:)", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, { "file": "/Users/rkwatra/Documents/practice/proton/Proton/Sources/Swift/EditorCommand/Commands/AttributesToggleCommand.swift", "line": 25,