mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
#432 code_highlighter 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3912 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9972366641
commit
bb91283df4
34 changed files with 0 additions and 1619 deletions
|
|
@ -1,26 +0,0 @@
|
|||
dp.sh.Brushes.Abap = function()
|
||||
{
|
||||
var datatypes =
|
||||
'ACCP CHAR CLNT CUKY CURR DATS DEC FLTP INT1 INT2 INT4 LANG LCHR LRAW NUMC PREC QUAN RAW RAWSTRING SSTRING STRING TIMS UNIT';
|
||||
|
||||
var keywords =
|
||||
'IF RETURN WHILE CASE DEFAULT DO ELSE FOR ENDIF ELSEIF EQ NOT AND DATA TYPES SELETION-SCREEN PARAMETERS ' +
|
||||
'FIELD-SYMBOLS EXTERN INLINE REPORT WRITE APPEND SELECT ENDSELECT CALL METHOD CALL FUNCTION LOOP ENDLOOP ' +
|
||||
'RAISE READ TABLE CONCATENATE SPLIT SHIFT CONDENSE DESCRIBE CLEAR ENDFUNCTION ASSIGN CREATE DATA TRANSLATE ' +
|
||||
'CONTINUE START-OF-SELECTION AT SELECTION-SCREEN MODIFY CALL SCREEN CREATE OBJECT PERFORM FORM ENDFORM ' +
|
||||
'REUSE_ALV_BLOCK_LIST_INIT ZBCIALV INCLUDE TYPE REF TO TYPE BEGIN\SOF END\SOF LIKE INTO FROM WHERE ORDER BY ' +
|
||||
'WITH KEY INTO STRING SEPARATED BY EXPORTING IMPORTING TO UPPER CASE TO EXCEPTIONS TABLES USING CHANGING';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: new RegExp('^\\*.*$', 'gm'), css: 'comment' }, // one line comments
|
||||
{ regex: new RegExp('\\".*$', 'gm'), css: 'comment' }, // one line comments
|
||||
{ regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings
|
||||
{ regex: new RegExp(this.GetKeywords(datatypes), 'gm'), css: 'datatypes' },
|
||||
{ regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' }
|
||||
];
|
||||
|
||||
this.CssClass = 'dp-abap';
|
||||
}
|
||||
|
||||
dp.sh.Brushes.Abap.prototype = new dp.sh.Highlighter();
|
||||
dp.sh.Brushes.Abap.Aliases = ['abap'];
|
||||
Loading…
Add table
Add a link
Reference in a new issue