anchor.diff:  
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% events %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  - 
  +
   event(compile)->
   ExecTime = httpd_util:rfc1123_date(erlang:localtime()),
  -wf:insert_bottom("cmdlog","("++ExecTime++") Execute Compile:\n"++os:cmd("./bin/dev compile")++"\n");
  +Report = os:cmd("./bin/dev compile"),
  +Error = string:str(Report, "Error"),
  +if Error /= 0 -> 
  +wf:wire(topbuttons, #effect{ effect=highlight, speed=4000,options=[{color, "#FF0000"}]});%highlight in red on error  
  +true -> wf:wire(topbuttons, #effect{ effect=highlight, speed=500, options=[{color, "#00FF00"}]}) %highlight in green
  +end,
  +wf:insert_bottom("cmdlog","("++ExecTime++") Execute Compile:\n"++Report++"\n"),
  +wf:wire("obj('cmdlog').scrollTop = obj('cmdlog').scrollHeight;");
   
   event(refresh_tree)->
   wf:info("tst"++wf:temp_id()),
  
positive.code: 
  display_tail(Content) ->
  	wf:insert_bottom("reportlog",wf:f("~s~n",[Content])),
  	wf:flush().
  
negative.code: Compile = wf:f("~s",[wf:qs("hidden_checkbox")]),
  file:write_file(Path,Content),%TODO check if file is writed, make backup before save
  if Compile == "checked" -> wf:insert_bottom("cmdLog","File saved, compile:\n"),event(compile); 
  true->wf:insert_bottom("cmdLog","File saved but not compiled\n") end,  
  wf:wire("obj('cmdlog').scrollTop = obj('cmdlog').scrollHeight;");
  
  %>>>
  %file clicked on tree for open
  