Broke the Editors into separate classes
svn: r464
This commit is contained in:
@@ -174,7 +174,10 @@ class AbiWordDoc(TextDoc):
|
||||
self.f.write('</c></p>\n')
|
||||
|
||||
def write_text(self,text):
|
||||
self.f.write(text)
|
||||
text = string.replace(text,'&','&'); # Must be first
|
||||
text = string.replace(text,'<','<');
|
||||
text = string.replace(text,'>','>');
|
||||
self.f.write(text)
|
||||
|
||||
def start_bold(self):
|
||||
font = self.current_style.get_font()
|
||||
|
||||
Reference in New Issue
Block a user