Fix Code Inspector jump (#6343)

thanks for the fix. this way of encoding the action should probably be refactored.
This commit is contained in:
Christian Günter 2023-07-10 16:47:08 +02:00 committed by GitHub
parent f598c7b6cf
commit 2a9a35e925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,12 +302,12 @@ CLASS zcl_abapgit_gui_page_codi_base IMPLEMENTATION.
IF lv_temp <> ii_event->mv_action. " CI navigation request detected IF lv_temp <> ii_event->mv_action. " CI navigation request detected
SPLIT lv_temp AT c_object_separator INTO lv_main_object lv_sub_object lv_line_number_s. SPLIT lv_temp AT c_object_separator INTO lv_main_object lv_sub_object lv_line_number_s.
ls_item-obj_type = lv_main_object(4). ls_item-obj_type = to_upper( lv_main_object(4) ).
ls_item-obj_name = lv_main_object+4(*). ls_item-obj_name = to_upper( lv_main_object+4(*) ).
IF lv_sub_object IS NOT INITIAL. IF lv_sub_object IS NOT INITIAL.
ls_sub_item-obj_type = lv_sub_object(4). ls_sub_item-obj_type = to_upper( lv_sub_object(4) ).
ls_sub_item-obj_name = lv_sub_object+4(*). ls_sub_item-obj_name = to_upper( lv_sub_object+4(*) ).
ENDIF. ENDIF.
lv_line_number = lv_line_number_s. lv_line_number = lv_line_number_s.