X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaGui.ml;h=00684d975babda51ef2fd3e0801cc38cc63fe1aa;hb=f13efc1fff944ff0d3bd1414eae1739fead31856;hp=1d433f848a2f988dd42cde1c313c5048abbc15ad;hpb=ecd0ab19b82f611974bd76f3c740c842f566009d;p=helm.git diff --git a/helm/matita/matitaGui.ml b/helm/matita/matitaGui.ml index 1d433f848..00684d975 100644 --- a/helm/matita/matitaGui.ml +++ b/helm/matita/matitaGui.ml @@ -170,7 +170,8 @@ class gui () = let find_forward _ = let highlight start end_ = source_buffer#move_mark `INSERT ~where:start; - source_buffer#move_mark `SEL_BOUND ~where:end_ + source_buffer#move_mark `SEL_BOUND ~where:end_; + source_view#scroll_mark_onscreen `INSERT in let text = findRepl#findEntry#text in let iter = source_buffer#get_iter `SEL_BOUND in