SlickEdit Community
Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2013 v18 beta => Topic started by: asandler on April 29, 2013, 10:26:41 AM
-
I am trying SE 18 now. Is there an alternative to next-buff-tab and prev-buff-tab in the new UI?
These two commands switching to next or previous buffer tabs (respecting their order).
Thanks,
Alex.
-
I added just added next_doc_tab and prev_doc commands.
_command void next_doc_tab() name_info(','VSARG2_READ_ONLY|VSARG2_ICON|VSARG2_MARK|VSARG2_REQUIRES_MDI_EDITORCTL|VSARG2_LINEHEX)
{
int wid=_MDINextDocumentWindow(p_window_id,'N',false);
wid._set_focus();
}
_command void prev_doc_tab() name_info(','VSARG2_READ_ONLY|VSARG2_ICON|VSARG2_MARK|VSARG2_REQUIRES_MDI_EDITORCTL|VSARG2_LINEHEX)
{
int wid=_MDINextDocumentWindow(p_window_id,'P',false);
wid._set_focus();
}
-
Cool. Thanks.
-
Also I added calls to these commands in next-buff-tab (and prev-buff-tab), so that if the old File Tabs tool window is not visible, we call these new commands. So you shouldn't have to rebind any keys.
- Ryan