This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 58253f8784 ISIS-3112: just comments
58253f8784 is described below
commit 58253f8784a51fe918639c54bfb1e1b82d99904a
Author: Andi Huber <[email protected]>
AuthorDate: Fri Aug 5 12:23:55 2022 +0200
ISIS-3112: just comments
---
.../main/java/org/apache/isis/applib/value/semantics/Renderer.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/api/applib/src/main/java/org/apache/isis/applib/value/semantics/Renderer.java
b/api/applib/src/main/java/org/apache/isis/applib/value/semantics/Renderer.java
index f3b57b3a0a..b635c3bfaf 100644
---
a/api/applib/src/main/java/org/apache/isis/applib/value/semantics/Renderer.java
+++
b/api/applib/src/main/java/org/apache/isis/applib/value/semantics/Renderer.java
@@ -43,6 +43,11 @@ public interface Renderer<T> {
PRISM_COY;
}
+ /**
+ * Governs whether, to switch on client-side syntax highlighting.
+ * @apiNote a rendered page can currently only support a single
high-lighter theme;
+ * if there is a mix of themes the behavior is unpredictable
+ */
default SyntaxHighlighter syntaxHighlighter() {
return SyntaxHighlighter.NONE;
}