2007-02-11 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: added * src/DisplayTabs/_NoteTab.py: handling 'rich text' notes * src/RelLib/_NoteBase.py: handling 'rich text' notes * src/RelLib/_Note.py: handling 'rich text' notes * src/GrampsDb/_GrampsBSDDB.py: handling 'rich text' notes * src/GrampsDbUtils/_ReadXML.py: handling 'rich text' notes * src/GrampsDbUtils/_WriteXML.py: handling 'rich text' notes * src/Merge/_MergeSource.py: handling 'rich text' notes * src/Merge/_MergePlace.py: handling 'rich text' notes * src/Merge/_MergePerson.py: handling 'rich text' notes * src/ReportBase/_ReportUtils.py: handling 'rich text' notes * src/ViewManager.py: cleanup svn: r8081
This commit is contained in:
@@ -82,7 +82,7 @@ class NoteBase:
|
||||
self.note = Note()
|
||||
self.note.set(text)
|
||||
|
||||
def get_note(self):
|
||||
def get_note(self, markup=False):
|
||||
"""
|
||||
Returns the text of the current note.
|
||||
|
||||
@@ -90,7 +90,7 @@ class NoteBase:
|
||||
@rtype: str
|
||||
"""
|
||||
if self.note:
|
||||
return self.note.get()
|
||||
return self.note.get(markup)
|
||||
return ""
|
||||
|
||||
def set_note_format(self, val):
|
||||
|
||||
Reference in New Issue
Block a user