src/Tools/jEdit/src/document_model.scala
changeset 43722 9b5dadb0c28d
parent 43718 4a4ca9e4a14b
child 44160 8848867501fb
equal deleted inserted replaced
43721:fad8634cee62 43722:9b5dadb0c28d
    62   /* pending text edits */
    62   /* pending text edits */
    63 
    63 
    64   private val node_name = (master_dir + Path.basic(thy_name)).implode
    64   private val node_name = (master_dir + Path.basic(thy_name)).implode
    65 
    65 
    66   private def node_header(): Document.Node.Header =
    66   private def node_header(): Document.Node.Header =
    67     Document.Node.Header(master_dir,
    67     Document.Node.Header(Path.current,  // FIXME master_dir (!?)
    68       Exn.capture { Thy_Header.check(thy_name, buffer.getSegment(0, buffer.getLength)) })
    68       Exn.capture { Thy_Header.check(thy_name, buffer.getSegment(0, buffer.getLength)) })
    69 
    69 
    70   private object pending_edits  // owned by Swing thread
    70   private object pending_edits  // owned by Swing thread
    71   {
    71   {
    72     private val pending = new mutable.ListBuffer[Text.Edit]
    72     private val pending = new mutable.ListBuffer[Text.Edit]