   formattedText = formattedText.replace(/&#x2F/g, "/")            # &#x2F -> /
   formattedText = formattedText.replace(/&nbsp;/g, ' ')           # &nbsp; -> ' '
   return formattedText
+
+saveCursorLocation = () ->
+
+restoreCursorLocation = () ->
 
 $.fn.colorfy = (plainTextProcessor) ->
 

  # inline image
  # reference image



createNode = (content, htmlfier, descriptor, klass) ->
  node = {}
  node.content = content
  node.htmlfier = htmlfier
  node.descriptor = descriptor
  node.klass = klass
  node.subnodes = []
  node.supernode = null # Unused

    div.data("content", area.val()).trigger("receive-content")

  div.on "receive-content", ->
    # Fix big cursor issue
    if div.text().length == 0
      div.css("display", "block")
    else
      div.css("display", "inline-block")
    div.html(dataTextToFormattedText(div.data("content")))
  div.on "send-content", ->
    # Fix big cursor issue
    if div.text().length == 0
      div.css("display", "block")
    else
