Skip to content

Commit

Permalink
Schema: continuation in console
Browse files Browse the repository at this point in the history
  • Loading branch information
skiadas authored and rbeezer committed Dec 27, 2024
1 parent f3aa15a commit 6f98535
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schema/pretext.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -527,12 +527,14 @@
ConsoleInput =
element input {
attribute prompt {text}?,
attribute continuation {text}?,
text
}
Console =
element console {
Component?,
attribute prompt {text}?,
attribute continuation {text}?,
attribute width {text}?,
attribute margins {text}?,
(
Expand Down
6 changes: 6 additions & 0 deletions schema/pretext.rng
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,9 @@
<optional>
<attribute name="prompt"/>
</optional>
<optional>
<attribute name="continuation"/>
</optional>
<text/>
</element>
</define>
Expand All @@ -1410,6 +1413,9 @@
<optional>
<attribute name="prompt"/>
</optional>
<optional>
<attribute name="continuation"/>
</optional>
<optional>
<attribute name="width"/>
</optional>
Expand Down
2 changes: 2 additions & 0 deletions schema/pretext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1404,12 +1404,14 @@
ConsoleInput =
element input {
attribute prompt {text}?,
attribute continuation {text}?,
text
}
Console =
element console {
Component?,
attribute prompt {text}?,
attribute continuation {text}?,
attribute width {text}?,
attribute margins {text}?,
(
Expand Down
2 changes: 2 additions & 0 deletions schema/pretext.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@
<xs:element name="input">
<xs:complexType mixed="true">
<xs:attribute name="prompt"/>
<xs:attribute name="continuation"/>
</xs:complexType>
</xs:element>
</xs:sequence>
Expand All @@ -1232,6 +1233,7 @@
</xs:sequence>
<xs:attribute name="component"/>
<xs:attribute name="prompt"/>
<xs:attribute name="continuation"/>
<xs:attribute name="width"/>
<xs:attribute name="margins"/>
</xs:complexType>
Expand Down

0 comments on commit 6f98535

Please sign in to comment.