Commit dae82eb1 authored by john's avatar john

fixed header bug for DocumentClass.py and ClassicDocumentClass.py

StructuredText section failed to provide the actual colorizable text,
so in-line structured text items were being ignored.
parent e9a2c5b5
...@@ -138,6 +138,12 @@ class StructuredTextSection(ST.StructuredTextParagraph): ...@@ -138,6 +138,12 @@ class StructuredTextSection(ST.StructuredTextParagraph):
(self, StructuredTextSectionTitle(src), subs), (self, StructuredTextSectionTitle(src), subs),
kw) kw)
def getColorizableTexts(self):
return self._src.getColorizableTexts()
def setColorizableTexts(self,src):
self._src.setColorizableTexts(src)
# a StructuredTextTable holds StructuredTextRows # a StructuredTextTable holds StructuredTextRows
class StructuredTextTable(ST.StructuredTextDocument): class StructuredTextTable(ST.StructuredTextDocument):
""" """
......
...@@ -137,7 +137,13 @@ class StructuredTextSection(ST.StructuredTextParagraph): ...@@ -137,7 +137,13 @@ class StructuredTextSection(ST.StructuredTextParagraph):
apply(ST.StructuredTextParagraph.__init__, apply(ST.StructuredTextParagraph.__init__,
(self, StructuredTextSectionTitle(src), subs), (self, StructuredTextSectionTitle(src), subs),
kw) kw)
def getColorizableTexts(self):
return self._src.getColorizableTexts()
def setColorizableTexts(self,src):
self._src.setColorizableTexts(src)
# a StructuredTextTable holds StructuredTextRows # a StructuredTextTable holds StructuredTextRows
class StructuredTextTable(ST.StructuredTextParagraph): class StructuredTextTable(ST.StructuredTextParagraph):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment