mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
Hotkey overview: Show link hint activation key (#5122)
This commit is contained in:
parent
02a06cae8f
commit
4c919b2aa6
|
@ -132,7 +132,8 @@ CLASS zcl_abapgit_gui_hotkey_ctl IMPLEMENTATION.
|
|||
DATA:
|
||||
lv_hint TYPE string,
|
||||
lt_registered_hotkeys TYPE zif_abapgit_gui_hotkeys=>ty_hotkeys_with_descr,
|
||||
lv_hotkey TYPE string.
|
||||
lv_hotkey TYPE string,
|
||||
ls_user_settings TYPE zif_abapgit_definitions=>ty_s_user_settings.
|
||||
|
||||
FIELD-SYMBOLS <ls_hotkey> LIKE LINE OF lt_registered_hotkeys.
|
||||
|
||||
|
@ -153,6 +154,16 @@ CLASS zcl_abapgit_gui_hotkey_ctl IMPLEMENTATION.
|
|||
&& |<span class="key-descr">{ <ls_hotkey>-description }</span>|
|
||||
&& |</li>| ).
|
||||
ENDLOOP.
|
||||
|
||||
" render link hints activation key
|
||||
ls_user_settings = zcl_abapgit_persistence_user=>get_instance( )->get_settings( ).
|
||||
IF ls_user_settings-link_hints_enabled = abap_true.
|
||||
ri_html->add( |<li>|
|
||||
&& |<span class="key-id">{ ls_user_settings-link_hint_key }</span>|
|
||||
&& |<span class="key-descr">Link Hints</span>|
|
||||
&& |</li>| ).
|
||||
ENDIF.
|
||||
|
||||
ri_html->add( '</ul>' ).
|
||||
|
||||
CLEAR lv_hotkey.
|
||||
|
|
Loading…
Reference in New Issue
Block a user