pvl / abap.tmbundle

TextMate support for ABAP
21 stars 9 forks source link

misc problems #3

Closed larshp closed 5 years ago

larshp commented 9 years ago

BEGIN, END, DEFAULT KEY not highlighted

TYPES: BEGIN OF st_file,
         path     TYPE string,
         filename TYPE string,
         data     TYPE xstring,
       END OF st_file.
TYPES: tt_files TYPE STANDARD TABLE OF st_file WITH DEFAULT KEY.

DEFAULT not highlighted

    METHODS xml_render
      IMPORTING iv_normalize     TYPE sap_bool DEFAULT abap_true
      RETURNING VALUE(rv_string) TYPE string.

BOUND, INITIAL, SUPPLIED not highlighted

    IF NOT ri_element IS BOUND.
      RETURN.
    ENDIF.
      IF lv_name IS INITIAL.
        _raise 'no name'.
      ENDIF.
IF iv_xml IS SUPPLIED.
ENDIF.

COMPONENT, STRUCTURE not highlighted

ASSIGN COMPONENT <ls_comp>-name OF STRUCTURE cg_structure TO <lg_any>.

APPEND INITIAL LINE not highlighted

APPEND INITIAL LINE TO ct_table ASSIGNING <lg_line>.

PROTECTED not nighlighted

PROTECTED SECTION.

first string not highlighted

    DATA: lv_path TYPE string,
          lv_name TYPE string.

REGEX, SUBMATCHES not highlighted

    FIND REGEX '(.*://[^/]*)(.*/)(.*).git' IN iv_repo
                     SUBMATCHES ev_host ev_path ev_name.

DEFINITION FINAL after the class name has strange color

CLASS lcl_user DEFINITION FINAL.
ENDCLASS.

control_keywords without preceding whitespace is not highlighted,

IF iv_xml IS SUPPLIED.
ENDIF.
larshp commented 9 years ago

following issues remain to be fixed,

BOUND, INITIAL, SUPPLIED not highlighted

    IF NOT ri_element IS BOUND.
      RETURN.
    ENDIF.
      IF lv_name IS INITIAL.
        _raise 'no name'.
      ENDIF.
IF iv_xml IS SUPPLIED.
ENDIF.

first string not highlighted

    DATA: lv_path TYPE string,
          lv_name TYPE string.

DEFINITION FINAL after the class name has strange color

CLASS lcl_user DEFINITION FINAL.
ENDCLASS.
FreHu commented 6 years ago

12 Solves everything remaining except for the class definition, which I intend to fix separately at some later point.

FreHu commented 5 years ago

This can be closed.