how to call tab_refresh() (in bufftabs.e) from another, own developed .e?
project_file_quit(module_id)
{
// Bug: Project file stays in toolbar "buffer list"
//messageNwait( 'Before activate_view project_id' )
activate_view project_id
//messageNwait( 'Before _delete_buffer' )
_delete_buffer
//messageNwait( 'Before _quit_view' )
_quit_view
//messageNwait( 'Before activate_view module_id' )
activate_view module_id
//messageNwait( 'Before tab refresh' )
tab_refresh()
}
i get an error, that the procedure cannot be found ...
the problem here is, that a project file .pro get's opened and some text is copied out (pre defined header definitions for new inserted code).
when this is finished the project file has a tab in the buffer list toolbar, but it should be closed.
when tryiing to save then, i get an error from void _update_mod_file_status() in bufftabs.e.
i did modify this function (void _update_mod_file_status() ) to do a tab_refresh(); first and this leads to no error, but the slick buffer list toolbar behaves strange then :-)
so... how to call this tab_refresh outside bufftabs.e
-------------------------------
i'm using Visual SlickEdit Version 9.0
greetings