Custom Query (361 matches)
Results (1 - 3 of 361)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#24 | fixed | Replace current undo management with document-based undo mechanism | ||
Description |
The current undo management code uses a long history of commands sent to the prover, then weeds through them to figure out which commands need undoing and how. This is tedious and will not support context switching. Currently there is no queue of undo commands but instead a thread is made for each undo command as one-by-one they are processed by the prover; this has very poor performance. The document itself has exactly the information needed to calculate undo commands, based on the processed position. Because the document locks the processed text, this is expected to be accurate. We can calculate a queue of commands for undoing just as we do when processing commands. This work has begun but amounts to a major reorganisation/extension of the document model. This ticket will be used to track progress. |
|||
#84 | fixed | Remove double-quoted XML output from term display | ||
Description |
The current Isabelle CVS version displays goals correctly but double-escapes the XML in terms when it prints theorems.
Test case: run <pgip class="pa" id="test" seq="1"><opentheory thyname="SymbolOutput" parentnames="Main">theory SymbolOutput imports Main begin</opentheory></pgip> <pgip class="pa" id="test" seq="2"><spuriouscmd>thm trancl_def</spuriouscmd></pgip> the output should contain text like this: <pgmltext>trancl <sym name="equiv"><equiv;></sym>;equiv;></sym> and not text like this: <pgmltext>trancl <sym name = "equiv">\&lt;equiv&gt;</sym> which has too much escaping. The goals output does the right thing, e.g. try this PGIP command: <pgip class="pa" id="test" seq="3"><opengoal>lemma "P \<equiv> P"</opengoal></pgip> which gives PGML text containing: goal (1 subgoal): 1. <atom kind = "free">P</atom> <sym name = "equiv">\<equiv></sym> |
|||
#86 | fixed | Fix parse edit offset | ||
Description |
Editing document sets the parse edit offset, the position from which parsing begins next time. The code for adjusting this had faulty logic in earlier versions. It was fixed but seems to have broken again, perhaps with parser adjustments. This causes bad breakage because it gets difficult to edit text. |