Author Topic: Feature request: list document-tab-list-buffers keyboard shortcut in its tooltip  (Read 791 times)

at5dapa1

  • Senior Community Member
  • Posts: 166
  • Hero Points: 15
Currently the tool-tip shows only "Files" (see attachment).
We can assign a keyboard binding to it via document-tab-list-buffers: can that binding be listed in the tool-tip?
It would be a nice reminder how to access it quickly...

Graeme

  • Senior Community Member
  • Posts: 2341
  • Hero Points: 307
One way to get a list of your favourite keyboard shortcuts is to create your own popup menu like I did in xxutils here.
https://community.slickedit.com/index.php/topic,11186.msg47177.html#msg47177



Code: [Select]
_command show_xmenu1() name_info(',')
{
   mou_show_menu('xmenu1');
}


_menu xmenu1 {
   "Set diff region", "xset_diff_region", "","","";
   "Compare diff region", "xcompare_diff_region", "","","";
   "Beautify project", "xbeautify_project", "","","";
   "--","","","","";
   "Transpose chars","transpose-chars","","","";
   "Transpose words","transpose-words","","","";
   "Transpose lines","transpose-lines","","","";
   "Copy cur buffer name to clipboard","xcurbuf-name-to-clip","","","";
   "Copy cur buffer path to clipboard","xcurbuf-path-to-clip","","","";
   "Copy active project name to clipboard","xproject_name_to_clip","","","";
   "--","","","","";
   "Float &1","xfloat1","","","";
   "Float &2","xfloat2","","","";
   "Float &3","xfloat3","","","";
   submenu "Set float","","","" {
      "Float &1","xset_float1","","","";
      "Float &2","xset_float2","","","";
      "Float &3","xset_float3","","","";
   }
   "Save app layout","xsave_named_toolwindow_layout","","","";
   "Restore app layout","xload_named_toolwindow_layout","","","";
   "Save session","save_named_state","","","";
   "Restore session","load_named_state","","","";
   "--","","","","";

   submenu "&Bookmarks","","","" {
      "&Save bookmarks","xsave_bookmarks","","","";
      "&Restore bookmarks","xrestore_bookmarks","","","";
      "Save bookmarks and clear","xsave_and_clear_bookmarks","","","";
      "Clear and restore bookmarks","xclear_and_restore_bookmarks","","","";
   }

   submenu "Com&plete","","","" {
      "complete-prev-no-dup","complete_prev_no_dup","","","";
      "complete-next-no-dup","complete_next_no_dup","","","";
      "complete-prev","complete_prev","","","";
      "complete-next","complete_next","","","";
      "complete-list","complete_list","","","";
      "complete-more","complete_more","","","";
   }

   submenu "&Select / Hide","","","" {
      "select code block","select_code_block","","","";
      "select paren","select_paren_block","","","";
      "select procedure", "select_proc", "","","";
      "hide code block","hide_code_block","","","";
      "hide selection","hide_selection","","","";
      "hide comments","hide_all_comments","","","";
      "show all","show-all","","","";
   }

   submenu "&Open / E&xplore","","open-file or explore folder","" {
      "Open from here","xopen_from_here","","","open from current buffer path";
      "Open from config","xopen_from_config","","","open file from configuration folder";
      "Open vsstack error file","xopvss","","","Open Slick C error file";
      "-","","","","";
      "Explore current buffer","explore_cur_buffer","","","explore folder of current buffer";
      "Explore config folder","explore_config","","","";
      "Explore installation folder", "explore_vslick","","","";
      "Explore docs","explore_docs","","","";
      "Explore project","explore_vpj","","","";
   }

   submenu "&Case conversion","","","" {
      "&Lowcase selection","lowcase-selection","","","";
      "&Upcase selection","upcase-selection","","","";
      "Lowcase word","lowcase-word","","","";
      "Upcase word","upcase-word","","","";
      "Upcase &char","xupcase-char","","","";
      "Lowcase &char","xlowcase-char","","","";
      "Cap &selection","cap-selection", "","","";
   }

}


Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2745
  • Hero Points: 420
That is a good idea.  Filing an FR.