Commit 4f3a8e8d authored by Sébastien Lafargue's avatar Sébastien Lafargue

html-preview: remove unneeded print

parent 114b01ec
......@@ -74,7 +74,6 @@ class HtmlPreviewAddin(GObject.Object, Ide.EditorViewAddin):
document = editor.get_document()
view = HtmlPreviewView(document, visible=True)
stack = editor.get_ancestor(Ide.LayoutStack)
print (stack)
stack.add(view)
class HtmlPreviewView(Ide.LayoutView):
......@@ -90,7 +89,6 @@ class HtmlPreviewView(Ide.LayoutView):
settings = self.webview.get_settings()
settings.enable_html5_local_storage = False
language = document.get_language()
if language and language.get_id() == 'markdown':
self.markdown = True
......
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