Skip to content

Commit

Permalink
core: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
borisfaure committed Jun 19, 2010
1 parent 2a175ca commit 1ea0751
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions amsn2/core/views/stringview.py
Expand Up @@ -31,7 +31,7 @@ class StringView (object):
UNDERLINE_ELEMENT = "underline"
FONT_ELEMENT = "font"

# padding ?
# padding ?

class StringElement(object):
def __init__(self, type, value):
Expand Down Expand Up @@ -132,14 +132,6 @@ def reset_background_color(self):
def reset_font(self):
self.set_font(self._default_font)


def append_elements_from_HTML(self, string):
""" This method should parse an HTML string and convert it to a
StringView. It will be extremely comfortable, since most of the
times our frontends will work with HTML stuff. """
# TODO: Not so easy... maybe there is a python HTML parser we can use?
pass

def to_HTML_string(self):
""" This method returns a formatted html string with all
the data in the stringview """
Expand Down

0 comments on commit 1ea0751

Please sign in to comment.