aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/model/aditionalExtras.kt6
-rw-r--r--core/src/main/kotlin/pages/ContentNodes.kt2
2 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/kotlin/model/aditionalExtras.kt b/core/src/main/kotlin/model/aditionalExtras.kt
index 75f5f69a..853edd64 100644
--- a/core/src/main/kotlin/model/aditionalExtras.kt
+++ b/core/src/main/kotlin/model/aditionalExtras.kt
@@ -37,8 +37,8 @@ class Annotations(val content: List<Annotation>) : ExtraProperty<Documentable> {
}
}
-object PrimaryConstructorExtra: ExtraProperty<Documentable> {
- object PrimaryConstructorExtraKey: ExtraProperty.Key<Documentable, PrimaryConstructorExtra>
+object PrimaryConstructorExtra: ExtraProperty<DFunction> {
+ object PrimaryConstructorExtraKey: ExtraProperty.Key<DFunction, PrimaryConstructorExtra>
- override val key: ExtraProperty.Key<Documentable, *> = PrimaryConstructorExtraKey
+ override val key: ExtraProperty.Key<DFunction, *> = PrimaryConstructorExtraKey
} \ No newline at end of file
diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt
index eeefc3b9..46a71bc0 100644
--- a/core/src/main/kotlin/pages/ContentNodes.kt
+++ b/core/src/main/kotlin/pages/ContentNodes.kt
@@ -171,7 +171,7 @@ enum class ContentKind : Kind {
}
enum class TextStyle : Style {
- Bold, Italic, Strong, Strikethrough, Paragraph, Block, Monospace
+ Bold, Italic, Strong, Strikethrough, Paragraph, Block, Monospace, Indented
}
fun ContentNode.dfs(predicate: (ContentNode) -> Boolean): ContentNode? = if (predicate(this)) {