Code Block
data class CodeBlock(lines: List<List<String>>, ident: String, codeTextName: String, pointerName: String, textColor: String?, runtime: Double, syntaxHighlightingOn: Boolean, syntaxHighlightingStyle: String, tabSpacing: Int, boundaries: List<Pair<Double, Double>>) : ShapeWithBoundary
Content copied to clipboard
Code block
Constructors
CodeBlock
Link copied to clipboard
fun CodeBlock(lines: List<List<String>>, ident: String, codeTextName: String, pointerName: String, textColor: String? = null, runtime: Double = 1.0, syntaxHighlightingOn: Boolean = true, syntaxHighlightingStyle: String = "inkpot", tabSpacing: Int = 2, boundaries: List<Pair<Double, Double>> = emptyList())
Content copied to clipboard
Create empty Code block
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
component8
Link copied to clipboard
component9
Link copied to clipboard
copy
Link copied to clipboard
fun copy(lines: List<List<String>>, ident: String, codeTextName: String, pointerName: String, textColor: String? = null, runtime: Double = 1.0, syntaxHighlightingOn: Boolean = true, syntaxHighlightingStyle: String = "inkpot", tabSpacing: Int = 2, boundaries: List<Pair<Double, Double>> = emptyList()): CodeBlock
Content copied to clipboard
getConstructor
Link copied to clipboard
getInstructionString
Link copied to clipboard
getRuntimeString
Link copied to clipboard
setNewBoundary
Link copied to clipboard
Properties
codeTextName
Link copied to clipboard
pointerName
Link copied to clipboard
pythonVariablePrefix
Link copied to clipboard
style
Link copied to clipboard
syntaxHighlightingOn
Link copied to clipboard
syntaxHighlightingStyle
Link copied to clipboard
tabSpacing
Link copied to clipboard