Commit Graph

19 Commits

Author SHA1 Message Date
Marc Bernard
787bc605b0
Propagate codepage conversion errors (#5638) 2022-06-23 07:12:25 +02:00
Marc Bernard
995e77e949
Visualize difference for EOF (#5404) 2022-03-25 06:58:33 +01:00
Marc Bernard
8f28a1aab3
Adjust syntax highlighter output (#5128)
* Adjust syntax highlighter output

Minor adjustment to output of syntax highlighter. There's no need to escape quotes, so `e_html_text` is sufficient.

PS: Change will make implementing "Highlight parts where a changed line is changed" a bit easier (#2804)

* Adjust tests

* Update abap_transpile.json

* Update test case

* Revert

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-12 06:55:02 +01:00
Marc Bernard
07cdc0e0e8
Resolve circular reference in /syntax/ (#4292)
Closes #4258

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-12-07 09:13:58 +01:00
Marc Bernard
4a2752d467
Fix syntax highlighter (#4238)
- Fix regression XML highlighter
- Adjust UTs for syntax highlighter due to added keywords


Closes #4232

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-25 09:39:17 +01:00
Marc Bernard
5df956a37a
Toggle display of hidden characters on diff page (#4136)
* 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>
2020-11-07 09:54:38 +01:00
Marc Bernard
bdc44f7476
Remove self-references (#4115)
* Remove self-references

Remove unnecessary self-references (me->)

https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#omit-the-self-reference-me-when-calling-an-instance-method

* 702: Fix syntax error

No chaining with EXPORTING & CHANGING

* remove addiontal me, update abaplint config

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-11-02 09:25:27 +01:00
Lars Hvam
03724484f1
use boolc (#3920) 2020-09-23 12:28:13 +02:00
Marc Bernard
941407b194
Avoid parsing empty lines in syntax highlighter (#3483)
* Performance 

Avoid parsing empty lines

* Avoid parsing empty lines in syntax highlighter

* Empty or whitespace

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-06-13 09:47:25 +02:00
Lars Hvam
d36b43defe
line break parameters (#3444)
* line break parameters

* Update zcl_abapgit_gui_page_repo_sett.clas.abap

* Update zcl_abapgit_gui_page_repo_sett.clas.abap

* fix
2020-06-04 15:10:35 +02:00
Marc Bernard
2e2b8584fb
New syntax-highlighters for CSS, JS, JSON (#3381)
* Add syntax-highlighters for CSS, JS, JSON

* Update W3MI ZABAPGIT_CSS_THEME_DEFAULT

* Fix line size and case statement

* Fix line size

* Update styles, removed operators

* Added highlight for comments in HTML/XML

* Fix menu hover background

This makes the selected menu more visible. 

Also includes color fix for repo name and url in dark theme.

* Fix for W3xx objects with "." in name

* Reverse fix for W3xx

* Remove hover style changes

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-25 06:29:03 +02:00
Frederik Hudák
31a912b124
Use xml syntax highlighter for html as well (#3251)
I came upon a `w3ht.data.html` object without syntax highlighting. We can reuse the xml highlighter for html.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-11 16:46:21 +01:00
Lars Hvam
1dbd4d1912
Refactoring types (#2785)
* align use less different types

* refactor

* updates
2019-07-15 09:33:37 -07:00
Lars Hvam
5b6cc04159
use RETURNING instead of EXPORTING (#2533)
* READ_FILE use returning instead of exporting

* PARSE_LINE, use returning instead of exporting
2019-03-16 03:33:17 -07:00
Lars Hvam
fa39fcd43f
Code inspector fixes (#1997)
* pretty print

* definitions to top of routine

* space before .

* omit parameter names where possible

* double space after if

* remove pseudo comments where possible
2018-10-12 07:56:27 +02:00
Marcello Urbani
af8a7abb9c fixed issue #1799 (dump for < or > in attributes) (#1923)
* fixed issue #1799 (dump for  < or > in attributes)

* added unit tests and extended support
2018-09-16 18:23:52 +02:00
Frederik Hudák
26c6f4b4dc Removed endmethod and endclass comments - folders syntax, zlib, xml 2018-08-03 13:33:33 +02:00
Lars Hvam
59c1f277ab
more renaming #1132 (#1212)
* more renaming #1132

* fix indentation
2018-02-18 10:04:26 +01:00
Lars Hvam
9e3025d8dc
lcl_stage to global (#1133)
* lcl_stage to global

* lcl_syntax to global

* move login manager unit tests

* html action utils to global

* fix indentation
2018-01-13 11:43:10 +01:00