mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 13:03:01 +08:00

* Toggle display of hidden characters on diff page Time for something new... I added a toggle switch to the diff page that allows you to show otherwise hidden characters. - CR end-of-line - Spaces - Tabs - Byte-order-mark Closes https://github.com/abapGit/abapGit/issues/2124 Closes https://github.com/abapGit/abapGit/issues/3676 Improves https://github.com/abapGit/abapGit/issues/2804 * Add ini Co-authored-by: Lars Hvam <larshp@hotmail.com>
36 lines
506 B
ABAP
36 lines
506 B
ABAP
CLASS zcl_abapgit_syntax_txt DEFINITION
|
|
PUBLIC
|
|
INHERITING FROM zcl_abapgit_syntax_highlighter
|
|
CREATE PUBLIC .
|
|
|
|
PUBLIC SECTION.
|
|
|
|
METHODS constructor .
|
|
|
|
METHODS process_line
|
|
REDEFINITION .
|
|
PROTECTED SECTION.
|
|
PRIVATE SECTION.
|
|
ENDCLASS.
|
|
|
|
|
|
|
|
CLASS zcl_abapgit_syntax_txt IMPLEMENTATION.
|
|
|
|
|
|
METHOD constructor.
|
|
|
|
super->constructor( ).
|
|
|
|
" No rules for plain text files
|
|
|
|
ENDMETHOD.
|
|
|
|
|
|
METHOD process_line.
|
|
|
|
rv_line = show_hidden_chars( iv_line ).
|
|
|
|
ENDMETHOD.
|
|
ENDCLASS.
|