equal
deleted
inserted
replaced
56 |
56 |
57 case XML.Elem(Markup(Markup.SENDBACK, props), _) => |
57 case XML.Elem(Markup(Markup.SENDBACK, props), _) => |
58 if (buffer.isEditable) { |
58 if (buffer.isEditable) { |
59 props match { |
59 props match { |
60 case Position.Id(id) => |
60 case Position.Id(id) => |
61 Isabelle.edit_command(snapshot, buffer, |
61 Isabelle.edit_command(snapshot, text_area, |
62 props.contains(Markup.PADDING_COMMAND), id, text) |
62 props.contains(Markup.PADDING_COMMAND), id, text) |
63 case _ => |
63 case _ => |
64 if (props.contains(Markup.PADDING_LINE)) |
64 if (props.contains(Markup.PADDING_LINE)) |
65 Isabelle.insert_line_padding(text_area, text) |
65 Isabelle.insert_line_padding(text_area, text) |
66 else text_area.setSelectedText(text) |
66 else text_area.setSelectedText(text) |