Integrate lexers for several hex file formats
Integrate Motorola S-Record lexer. Integrate Intel HEX lexer. Integrate Tektronix extended HEX lexer. Fixes #1256, closes #1257
This commit is contained in:
parent
beda685dc6
commit
6b6b81278b
@ -39,7 +39,8 @@ enum LangType {L_TEXT, L_PHP , L_C, L_CPP, L_CS, L_OBJC, L_JAVA, L_RC,\
|
|||||||
L_ASM, L_DIFF, L_PROPS, L_PS, L_RUBY, L_SMALLTALK, L_VHDL, L_KIX, L_AU3,\
|
L_ASM, L_DIFF, L_PROPS, L_PS, L_RUBY, L_SMALLTALK, L_VHDL, L_KIX, L_AU3,\
|
||||||
L_CAML, L_ADA, L_VERILOG, L_MATLAB, L_HASKELL, L_INNO, L_SEARCHRESULT,\
|
L_CAML, L_ADA, L_VERILOG, L_MATLAB, L_HASKELL, L_INNO, L_SEARCHRESULT,\
|
||||||
L_CMAKE, L_YAML, L_COBOL, L_GUI4CLI, L_D, L_POWERSHELL, L_R, L_JSP,\
|
L_CMAKE, L_YAML, L_COBOL, L_GUI4CLI, L_D, L_POWERSHELL, L_R, L_JSP,\
|
||||||
L_COFFEESCRIPT, L_JSON, L_JAVASCRIPT, L_FORTRAN_77, L_BAANC,\
|
L_COFFEESCRIPT, L_JSON, L_JAVASCRIPT, L_FORTRAN_77, L_BAANC, L_SREC,\
|
||||||
|
L_IHEX, L_TEHEX,\
|
||||||
// Don't use L_JS, use L_JAVASCRIPT instead
|
// Don't use L_JS, use L_JAVASCRIPT instead
|
||||||
// The end of enumated language type, so it should be always at the end
|
// The end of enumated language type, so it should be always at the end
|
||||||
L_EXTERNAL};
|
L_EXTERNAL};
|
||||||
|
@ -2837,6 +2837,12 @@ LangType Notepad_plus::menuID2LangType(int cmdID)
|
|||||||
return L_COFFEESCRIPT;
|
return L_COFFEESCRIPT;
|
||||||
case IDM_LANG_BAANC:
|
case IDM_LANG_BAANC:
|
||||||
return L_BAANC;
|
return L_BAANC;
|
||||||
|
case IDM_LANG_SREC :
|
||||||
|
return L_SREC;
|
||||||
|
case IDM_LANG_IHEX :
|
||||||
|
return L_IHEX;
|
||||||
|
case IDM_LANG_TEHEX :
|
||||||
|
return L_TEHEX;
|
||||||
|
|
||||||
case IDM_LANG_USER :
|
case IDM_LANG_USER :
|
||||||
return L_USER;
|
return L_USER;
|
||||||
|
@ -693,6 +693,7 @@ BEGIN
|
|||||||
MENUITEM "HTML", IDM_LANG_HTML
|
MENUITEM "HTML", IDM_LANG_HTML
|
||||||
MENUITEM "INI file", IDM_LANG_INI
|
MENUITEM "INI file", IDM_LANG_INI
|
||||||
MENUITEM "Inno Setup", IDM_LANG_INNO
|
MENUITEM "Inno Setup", IDM_LANG_INNO
|
||||||
|
MENUITEM "Intel HEX", IDM_LANG_IHEX
|
||||||
MENUITEM "Java", IDM_LANG_JAVA
|
MENUITEM "Java", IDM_LANG_JAVA
|
||||||
MENUITEM "JavaScript", IDM_LANG_JS
|
MENUITEM "JavaScript", IDM_LANG_JS
|
||||||
MENUITEM "JSON", IDM_LANG_JSON
|
MENUITEM "JSON", IDM_LANG_JSON
|
||||||
@ -720,7 +721,9 @@ BEGIN
|
|||||||
MENUITEM "Scheme", IDM_LANG_SCHEME
|
MENUITEM "Scheme", IDM_LANG_SCHEME
|
||||||
MENUITEM "Smalltalk", IDM_LANG_SMALLTALK
|
MENUITEM "Smalltalk", IDM_LANG_SMALLTALK
|
||||||
MENUITEM "SQL", IDM_LANG_SQL
|
MENUITEM "SQL", IDM_LANG_SQL
|
||||||
|
MENUITEM "S-Record", IDM_LANG_SREC
|
||||||
MENUITEM "TCL", IDM_LANG_TCL
|
MENUITEM "TCL", IDM_LANG_TCL
|
||||||
|
MENUITEM "Tektronix extended HEX", IDM_LANG_TEHEX
|
||||||
MENUITEM "TeX", IDM_LANG_TEX
|
MENUITEM "TeX", IDM_LANG_TEX
|
||||||
MENUITEM "Visual Basic", IDM_LANG_VB
|
MENUITEM "Visual Basic", IDM_LANG_VB
|
||||||
MENUITEM "VHDL", IDM_LANG_VHDL
|
MENUITEM "VHDL", IDM_LANG_VHDL
|
||||||
@ -778,6 +781,7 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "INI file", IDM_LANG_INI
|
MENUITEM "INI file", IDM_LANG_INI
|
||||||
MENUITEM "Inno Setup", IDM_LANG_INNO
|
MENUITEM "Inno Setup", IDM_LANG_INNO
|
||||||
|
MENUITEM "Intel HEX", IDM_LANG_IHEX
|
||||||
END
|
END
|
||||||
POPUP "J"
|
POPUP "J"
|
||||||
BEGIN
|
BEGIN
|
||||||
@ -826,10 +830,12 @@ BEGIN
|
|||||||
MENUITEM "Scheme", IDM_LANG_SCHEME
|
MENUITEM "Scheme", IDM_LANG_SCHEME
|
||||||
MENUITEM "Smalltalk", IDM_LANG_SMALLTALK
|
MENUITEM "Smalltalk", IDM_LANG_SMALLTALK
|
||||||
MENUITEM "SQL", IDM_LANG_SQL
|
MENUITEM "SQL", IDM_LANG_SQL
|
||||||
|
MENUITEM "S-Record", IDM_LANG_SREC
|
||||||
END
|
END
|
||||||
POPUP "T"
|
POPUP "T"
|
||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "TCL", IDM_LANG_TCL
|
MENUITEM "TCL", IDM_LANG_TCL
|
||||||
|
MENUITEM "Tektronix extended HEX",IDM_LANG_TEHEX
|
||||||
MENUITEM "TeX", IDM_LANG_TEX
|
MENUITEM "TeX", IDM_LANG_TEX
|
||||||
END
|
END
|
||||||
POPUP "V"
|
POPUP "V"
|
||||||
|
@ -2782,6 +2782,9 @@ void Notepad_plus::command(int id)
|
|||||||
case IDM_LANG_JSP :
|
case IDM_LANG_JSP :
|
||||||
case IDM_LANG_COFFEESCRIPT:
|
case IDM_LANG_COFFEESCRIPT:
|
||||||
case IDM_LANG_BAANC:
|
case IDM_LANG_BAANC:
|
||||||
|
case IDM_LANG_SREC:
|
||||||
|
case IDM_LANG_IHEX:
|
||||||
|
case IDM_LANG_TEHEX:
|
||||||
case IDM_LANG_USER :
|
case IDM_LANG_USER :
|
||||||
{
|
{
|
||||||
setLanguage(menuID2LangType(id));
|
setLanguage(menuID2LangType(id));
|
||||||
|
@ -5868,6 +5868,15 @@ int NppParameters::langTypeToCommandID(LangType lt) const
|
|||||||
case L_BAANC:
|
case L_BAANC:
|
||||||
id = IDM_LANG_BAANC; break;
|
id = IDM_LANG_BAANC; break;
|
||||||
|
|
||||||
|
case L_SREC :
|
||||||
|
id = IDM_LANG_SREC; break;
|
||||||
|
|
||||||
|
case L_IHEX :
|
||||||
|
id = IDM_LANG_IHEX; break;
|
||||||
|
|
||||||
|
case L_TEHEX :
|
||||||
|
id = IDM_LANG_TEHEX; break;
|
||||||
|
|
||||||
case L_SEARCHRESULT :
|
case L_SEARCHRESULT :
|
||||||
id = -1; break;
|
id = -1; break;
|
||||||
|
|
||||||
|
@ -142,6 +142,9 @@ LanguageName ScintillaEditView::langNames[L_EXTERNAL+1] = {
|
|||||||
{TEXT("javascript.js"), TEXT("JavaScript"), TEXT("JavaScript file"), L_JAVASCRIPT, SCLEX_CPP },
|
{TEXT("javascript.js"), TEXT("JavaScript"), TEXT("JavaScript file"), L_JAVASCRIPT, SCLEX_CPP },
|
||||||
{TEXT("fortran77"), TEXT("Fortran fixed form"), TEXT("Fortran fixed form source file"), L_FORTRAN_77, SCLEX_F77},
|
{TEXT("fortran77"), TEXT("Fortran fixed form"), TEXT("Fortran fixed form source file"), L_FORTRAN_77, SCLEX_F77},
|
||||||
{TEXT("baanc"), TEXT("BaanC"), TEXT("BaanC File"), L_BAANC, SCLEX_BAAN },
|
{TEXT("baanc"), TEXT("BaanC"), TEXT("BaanC File"), L_BAANC, SCLEX_BAAN },
|
||||||
|
{TEXT("srec"), TEXT("S-Record"), TEXT("Motorola S-Record binary data"), L_SREC, SCLEX_SREC},
|
||||||
|
{TEXT("ihex"), TEXT("Intel HEX"), TEXT("Intel HEX binary data"), L_IHEX, SCLEX_IHEX},
|
||||||
|
{TEXT("tehex"), TEXT("Tektronix extended HEX"), TEXT("Tektronix extended HEX binary data"), L_TEHEX, SCLEX_TEHEX},
|
||||||
{TEXT("ext"), TEXT("External"), TEXT("External"), L_EXTERNAL, SCLEX_NULL}
|
{TEXT("ext"), TEXT("External"), TEXT("External"), L_EXTERNAL, SCLEX_NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1572,6 +1575,15 @@ void ScintillaEditView::defineDocType(LangType typeDoc)
|
|||||||
case L_BAANC:
|
case L_BAANC:
|
||||||
setBaanCLexer(); break;
|
setBaanCLexer(); break;
|
||||||
|
|
||||||
|
case L_SREC :
|
||||||
|
setSrecLexer(); break;
|
||||||
|
|
||||||
|
case L_IHEX :
|
||||||
|
setIHexLexer(); break;
|
||||||
|
|
||||||
|
case L_TEHEX :
|
||||||
|
setTEHexLexer(); break;
|
||||||
|
|
||||||
case L_TEXT :
|
case L_TEXT :
|
||||||
default :
|
default :
|
||||||
if (typeDoc >= L_EXTERNAL && typeDoc < _pParameter->L_END)
|
if (typeDoc >= L_EXTERNAL && typeDoc < _pParameter->L_END)
|
||||||
|
@ -879,6 +879,18 @@ protected:
|
|||||||
execute(SCI_SETPROPERTY, reinterpret_cast<WPARAM>("styling.within.preprocessor"), reinterpret_cast<LPARAM>("1"));
|
execute(SCI_SETPROPERTY, reinterpret_cast<WPARAM>("styling.within.preprocessor"), reinterpret_cast<LPARAM>("1"));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void setSrecLexer() {
|
||||||
|
setLexer(SCLEX_SREC, L_SREC, LIST_NONE);
|
||||||
|
};
|
||||||
|
|
||||||
|
void setIHexLexer() {
|
||||||
|
setLexer(SCLEX_IHEX, L_IHEX, LIST_NONE);
|
||||||
|
};
|
||||||
|
|
||||||
|
void setTEHexLexer() {
|
||||||
|
setLexer(SCLEX_TEHEX, L_TEHEX, LIST_NONE);
|
||||||
|
};
|
||||||
|
|
||||||
//--------------------
|
//--------------------
|
||||||
|
|
||||||
void setSearchResultLexer() {
|
void setSearchResultLexer() {
|
||||||
|
@ -118,6 +118,7 @@
|
|||||||
<Keywords name="type3">begin break case const continue do downto else end except finally for function if of procedure repeat then to try until uses var while with</Keywords>
|
<Keywords name="type3">begin break case const continue do downto else end except finally for function if of procedure repeat then to try until uses var while with</Keywords>
|
||||||
<Keywords name="type4"></Keywords>
|
<Keywords name="type4"></Keywords>
|
||||||
</Language>
|
</Language>
|
||||||
|
<Language name="ihex" ext="hex" />
|
||||||
<Language name="java" ext="java" commentLine="//" commentStart="/*" commentEnd="*/">
|
<Language name="java" ext="java" commentLine="//" commentStart="/*" commentEnd="*/">
|
||||||
<Keywords name="instre1">instanceof assert if else switch case default break goto return for while do continue new throw throws try catch finally this super extends implements import true false null</Keywords>
|
<Keywords name="instre1">instanceof assert if else switch case default break goto return for while do continue new throw throws try catch finally this super extends implements import true false null</Keywords>
|
||||||
<Keywords name="type1">package transient strictfp void char short int long double float const static volatile byte boolean class interface native private protected public final abstract synchronized enum</Keywords>
|
<Keywords name="type1">package transient strictfp void char short int long double float const static volatile byte boolean class interface native private protected public final abstract synchronized enum</Keywords>
|
||||||
@ -233,12 +234,14 @@
|
|||||||
<Language name="sql" ext="sql" commentStart="/*" commentEnd="*/" commentLine="--">
|
<Language name="sql" ext="sql" commentStart="/*" commentEnd="*/" commentLine="--">
|
||||||
<Keywords name="instre1">abs absolute access acos add add_months adddate admin after aggregate all allocate alter and any app_name are array as asc ascii asin assertion at atan atn2 audit authid authorization autonomous_transaction avg before begin benchmark between bfilename bigint bin binary binary_checksum binary_integer bit bit_count bit_and bit_or blob body boolean both breadth bulk by call cascade cascaded case cast catalog ceil ceiling char char_base character charindex chartorowid check checksum checksum_agg chr class clob close cluster coalesce col_length col_name collate collation collect column comment commit completion compress concat concat_ws connect connection constant constraint constraints constructorcreate contains containsable continue conv convert corr corresponding cos cot count count_big covar_pop covar_samp create cross cube cume_dist current current_date current_path current_role current_time current_timestamp current_user currval cursor cycle data datalength databasepropertyex date date_add date_format date_sub dateadd datediff datename datepart datetime day db_id db_name deallocate dec declare decimal decode default deferrable deferred degrees delete dense_rank depth deref desc describe descriptor destroy destructor deterministic diagnostics dictionary disconnect difference distinct do domain double drop dump dynamic each else elsif empth encode encrypt end end-exec equals escape every except exception exclusive exec execute exists exit exp export_set extends external extract false fetch first first_value file float floor file_id file_name filegroup_id filegroup_name filegroupproperty fileproperty for forall foreign format formatmessage found freetexttable from from_days fulltextcatalog fulltextservice function general get get_lock getdate getansinull getutcdate global go goto grant greatest group grouping having heap hex hextoraw host host_id host_name hour ident_incr ident_seed ident_current identified identity if ifnull ignore immediate in increment index index_col indexproperty indicator initcap initial initialize initially inner inout input insert instr instrb int integer interface intersect interval into is is_member is_srvrolemember is_null is_numeric isdate isnull isolation iterate java join key lag language large last last_day last_value lateral lcase lead leading least left len length lengthb less level like limit limited ln lpad local localtime localtimestamp locator lock log log10 long loop lower ltrim make_ref map match max maxextents mid min minus minute mlslabel mod mode modifies modify module month months_between names national natural naturaln nchar nclob new new_time newid next next_day nextval no noaudit nocompress nocopy none not nowait null nullif number number_base numeric nvl nvl2 object object_id object_name object_property ocirowid oct of off offline old on online only opaque open operator operation option or ord order ordinalityorganization others out outer output package pad parameter parameters partial partition path pctfree percent_rank pi pls_integer positive positiven postfix pow power pragma precision prefix preorder prepare preserve primary prior private privileges procedure public radians raise rand range rank ratio_to_export raw rawtohex read reads real record recursive ref references referencing reftohex relative release release_lock rename repeat replace resource restrict result return returns reverse revoke right rollback rollup round routine row row_number rowid rowidtochar rowlabel rownum rows rowtype rpad rtrim savepoint schema scroll scope search second section seddev_samp select separate sequence session session_user set sets share sign sin sinh size smallint some soundex space specific specifictype sql sqlcode sqlerrm sqlexception sqlstate sqlwarning sqrt start state statement static std stddev stdev_pop strcmp structure subdate substr substrb substring substring_index subtype successful sum synonym sys_context sys_guid sysdate system_user table tan tanh temporary terminate than then time timestamp timezone_abbr timezone_minute timezone_hour timezone_region tinyint to to_char to_date to_days to_number to_single_byte trailing transaction translate translation treat trigger trim true trunc truncate type ucase uid under union unique unknown unnest update upper usage use user userenv using validate value values var_pop var_samp varbinary varchar varchar2 variable variance varying view vsize when whenever where with without while work write year zone</Keywords>
|
<Keywords name="instre1">abs absolute access acos add add_months adddate admin after aggregate all allocate alter and any app_name are array as asc ascii asin assertion at atan atn2 audit authid authorization autonomous_transaction avg before begin benchmark between bfilename bigint bin binary binary_checksum binary_integer bit bit_count bit_and bit_or blob body boolean both breadth bulk by call cascade cascaded case cast catalog ceil ceiling char char_base character charindex chartorowid check checksum checksum_agg chr class clob close cluster coalesce col_length col_name collate collation collect column comment commit completion compress concat concat_ws connect connection constant constraint constraints constructorcreate contains containsable continue conv convert corr corresponding cos cot count count_big covar_pop covar_samp create cross cube cume_dist current current_date current_path current_role current_time current_timestamp current_user currval cursor cycle data datalength databasepropertyex date date_add date_format date_sub dateadd datediff datename datepart datetime day db_id db_name deallocate dec declare decimal decode default deferrable deferred degrees delete dense_rank depth deref desc describe descriptor destroy destructor deterministic diagnostics dictionary disconnect difference distinct do domain double drop dump dynamic each else elsif empth encode encrypt end end-exec equals escape every except exception exclusive exec execute exists exit exp export_set extends external extract false fetch first first_value file float floor file_id file_name filegroup_id filegroup_name filegroupproperty fileproperty for forall foreign format formatmessage found freetexttable from from_days fulltextcatalog fulltextservice function general get get_lock getdate getansinull getutcdate global go goto grant greatest group grouping having heap hex hextoraw host host_id host_name hour ident_incr ident_seed ident_current identified identity if ifnull ignore immediate in increment index index_col indexproperty indicator initcap initial initialize initially inner inout input insert instr instrb int integer interface intersect interval into is is_member is_srvrolemember is_null is_numeric isdate isnull isolation iterate java join key lag language large last last_day last_value lateral lcase lead leading least left len length lengthb less level like limit limited ln lpad local localtime localtimestamp locator lock log log10 long loop lower ltrim make_ref map match max maxextents mid min minus minute mlslabel mod mode modifies modify module month months_between names national natural naturaln nchar nclob new new_time newid next next_day nextval no noaudit nocompress nocopy none not nowait null nullif number number_base numeric nvl nvl2 object object_id object_name object_property ocirowid oct of off offline old on online only opaque open operator operation option or ord order ordinalityorganization others out outer output package pad parameter parameters partial partition path pctfree percent_rank pi pls_integer positive positiven postfix pow power pragma precision prefix preorder prepare preserve primary prior private privileges procedure public radians raise rand range rank ratio_to_export raw rawtohex read reads real record recursive ref references referencing reftohex relative release release_lock rename repeat replace resource restrict result return returns reverse revoke right rollback rollup round routine row row_number rowid rowidtochar rowlabel rownum rows rowtype rpad rtrim savepoint schema scroll scope search second section seddev_samp select separate sequence session session_user set sets share sign sin sinh size smallint some soundex space specific specifictype sql sqlcode sqlerrm sqlexception sqlstate sqlwarning sqrt start state statement static std stddev stdev_pop strcmp structure subdate substr substrb substring substring_index subtype successful sum synonym sys_context sys_guid sysdate system_user table tan tanh temporary terminate than then time timestamp timezone_abbr timezone_minute timezone_hour timezone_region tinyint to to_char to_date to_days to_number to_single_byte trailing transaction translate translation treat trigger trim true trunc truncate type ucase uid under union unique unknown unnest update upper usage use user userenv using validate value values var_pop var_samp varbinary varchar varchar2 variable variance varying view vsize when whenever where with without while work write year zone</Keywords>
|
||||||
</Language>
|
</Language>
|
||||||
|
<Language name="srec" ext="mot srec" />
|
||||||
<Language name="tcl" ext="tcl" commentLine="#">
|
<Language name="tcl" ext="tcl" commentLine="#">
|
||||||
<Keywords name="instre1">after append array auto_execok auto_import auto_load auto_load_index auto_qualify beep binary break case catch cd clock close concat continue dde default echo else elseif encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent flush for foreach format gets glob global history if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lsort namespace open package pid pkg_mkIndex proc puts pwd read regexp regsub rename resource return scan seek set socket source split string subst switch tclLog tclMacPkgSearch tclPkgSetup tclPkgUnknown tell time trace unknown unset update uplevel upvar variable vwait while</Keywords>
|
<Keywords name="instre1">after append array auto_execok auto_import auto_load auto_load_index auto_qualify beep binary break case catch cd clock close concat continue dde default echo else elseif encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent flush for foreach format gets glob global history if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lsort namespace open package pid pkg_mkIndex proc puts pwd read regexp regsub rename resource return scan seek set socket source split string subst switch tclLog tclMacPkgSearch tclPkgSetup tclPkgUnknown tell time trace unknown unset update uplevel upvar variable vwait while</Keywords>
|
||||||
<Keywords name="instre2">bell bind bindtags button canvas checkbutton console destroy entry event focus font frame grab grid image label listbox menu menubutton message pack place radiobutton raise scale scrollbar text tk tkwait toplevel winfo wm</Keywords>
|
<Keywords name="instre2">bell bind bindtags button canvas checkbutton console destroy entry event focus font frame grab grid image label listbox menu menubutton message pack place radiobutton raise scale scrollbar text tk tkwait toplevel winfo wm</Keywords>
|
||||||
<Keywords name="type1">@scope body class code common component configbody constructor define destructor hull import inherit itcl itk itk_component itk_initialize itk_interior itk_option iwidgets keep method private protected public</Keywords>
|
<Keywords name="type1">@scope body class code common component configbody constructor define destructor hull import inherit itcl itk itk_component itk_initialize itk_interior itk_option iwidgets keep method private protected public</Keywords>
|
||||||
<Keywords name="type2">tkButtonDown tkButtonEnter tkButtonInvoke tkButtonLeave tkButtonUp tkCancelRepeat tkCheckRadioInvoke tkDarken tkEntryAutoScan tkEntryBackspace tkEntryButton1 tkEntryClosestGap tkEntryInsert tkEntryKeySelect tkEntryMouseSelect tkEntryNextWord tkEntryPaste tkEntryPreviousWord tkEntrySeeInsert tkEntrySetCursor tkEntryTranspose tkEventMotifBindings tkFDGetFileTypes tkFirstMenu tkFocusGroup_Destroy tkFocusGroup_In tkFocusGroup_Out tkFocusOK tkListboxAutoScan tkListboxBeginExtend tkListboxBeginSelect tkListboxBeginToggle tkListboxCancel tkListboxDataExtend tkListboxExtendUpDown tkListboxMotion tkListboxSelectAll tkListboxUpDown tkMbButtonUp tkMbEnter tkMbLeave tkMbMotion tkMbPost tkMenuButtonDown tkMenuDownArrow tkMenuDup tkMenuEscape tkMenuFind tkMenuFindName tkMenuFirstEntry tkMenuInvoke tkMenuLeave tkMenuLeftArrow tkMenuMotion tkMenuNextEntry tkMenuNextMenu tkMenuRightArrow tkMenuUnpost tkMenuUpArrow tkMessageBox tkPostOverPoint tkRecolorTree tkRestoreOldGrab tkSaveGrabInfo tkScaleActivate tkScaleButton2Down tkScaleButtonDown tkScaleControlPress tkScaleDrag tkScaleEndDrag tkScaleIncrement tkScreenChanged tkScrollButton2Down tkScrollButtonDown tkScrollButtonUp tkScrollByPages tkScrollByUnits tkScrollDrag tkScrollEndDrag tkScrollSelect tkScrollStartDrag tkScrollToPos tkScrollTopBottom tkTabToWindow tkTearOffMenu tkTextAutoScan tkTextButton1 tkTextClosestGap tkTextInsert tkTextKeyExtend tkTextKeySelect tkTextNextPara tkTextNextPos tkTextNextWord tkTextPaste tkTextPrevPara tkTextPrevPos tkTextResetAnchor tkTextScrollPages tkTextSelectTo tkTextSetCursor tkTextTranspose tkTextUpDownLine tkTraverseToMenu tkTraverseWithinMenu tk_bisque tk_chooseColor tk_dialog tk_focusFollowsMouse tk_focusNext tk_focusPrev tk_getOpenFile tk_getSaveFile tk_messageBox tk_optionMenu tk_popup tk_setPalette tk_textCopy tk_textCut tk_textPaste</Keywords>
|
<Keywords name="type2">tkButtonDown tkButtonEnter tkButtonInvoke tkButtonLeave tkButtonUp tkCancelRepeat tkCheckRadioInvoke tkDarken tkEntryAutoScan tkEntryBackspace tkEntryButton1 tkEntryClosestGap tkEntryInsert tkEntryKeySelect tkEntryMouseSelect tkEntryNextWord tkEntryPaste tkEntryPreviousWord tkEntrySeeInsert tkEntrySetCursor tkEntryTranspose tkEventMotifBindings tkFDGetFileTypes tkFirstMenu tkFocusGroup_Destroy tkFocusGroup_In tkFocusGroup_Out tkFocusOK tkListboxAutoScan tkListboxBeginExtend tkListboxBeginSelect tkListboxBeginToggle tkListboxCancel tkListboxDataExtend tkListboxExtendUpDown tkListboxMotion tkListboxSelectAll tkListboxUpDown tkMbButtonUp tkMbEnter tkMbLeave tkMbMotion tkMbPost tkMenuButtonDown tkMenuDownArrow tkMenuDup tkMenuEscape tkMenuFind tkMenuFindName tkMenuFirstEntry tkMenuInvoke tkMenuLeave tkMenuLeftArrow tkMenuMotion tkMenuNextEntry tkMenuNextMenu tkMenuRightArrow tkMenuUnpost tkMenuUpArrow tkMessageBox tkPostOverPoint tkRecolorTree tkRestoreOldGrab tkSaveGrabInfo tkScaleActivate tkScaleButton2Down tkScaleButtonDown tkScaleControlPress tkScaleDrag tkScaleEndDrag tkScaleIncrement tkScreenChanged tkScrollButton2Down tkScrollButtonDown tkScrollButtonUp tkScrollByPages tkScrollByUnits tkScrollDrag tkScrollEndDrag tkScrollSelect tkScrollStartDrag tkScrollToPos tkScrollTopBottom tkTabToWindow tkTearOffMenu tkTextAutoScan tkTextButton1 tkTextClosestGap tkTextInsert tkTextKeyExtend tkTextKeySelect tkTextNextPara tkTextNextPos tkTextNextWord tkTextPaste tkTextPrevPara tkTextPrevPos tkTextResetAnchor tkTextScrollPages tkTextSelectTo tkTextSetCursor tkTextTranspose tkTextUpDownLine tkTraverseToMenu tkTraverseWithinMenu tk_bisque tk_chooseColor tk_dialog tk_focusFollowsMouse tk_focusNext tk_focusPrev tk_getOpenFile tk_getSaveFile tk_messageBox tk_optionMenu tk_popup tk_setPalette tk_textCopy tk_textCut tk_textPaste</Keywords>
|
||||||
</Language>
|
</Language>
|
||||||
|
<Language name="tehex" ext="tek" />
|
||||||
<Language name="tex" ext="tex" commentLine="%">
|
<Language name="tex" ext="tex" commentLine="%">
|
||||||
</Language>
|
</Language>
|
||||||
<Language name="vb" ext="vb vbs" commentLine="'" commentStart="" commentEnd="">
|
<Language name="vb" ext="vb vbs" commentLine="'" commentStart="" commentEnd="">
|
||||||
|
@ -483,6 +483,9 @@
|
|||||||
#define IDM_LANG_JSON (IDM_LANG + 57)
|
#define IDM_LANG_JSON (IDM_LANG + 57)
|
||||||
#define IDM_LANG_FORTRAN_77 (IDM_LANG + 58)
|
#define IDM_LANG_FORTRAN_77 (IDM_LANG + 58)
|
||||||
#define IDM_LANG_BAANC (IDM_LANG + 59)
|
#define IDM_LANG_BAANC (IDM_LANG + 59)
|
||||||
|
#define IDM_LANG_SREC (IDM_LANG + 60)
|
||||||
|
#define IDM_LANG_IHEX (IDM_LANG + 61)
|
||||||
|
#define IDM_LANG_TEHEX (IDM_LANG + 62)
|
||||||
|
|
||||||
#define IDM_LANG_EXTERNAL (IDM_LANG + 65)
|
#define IDM_LANG_EXTERNAL (IDM_LANG + 65)
|
||||||
#define IDM_LANG_EXTERNAL_LIMIT (IDM_LANG + 79)
|
#define IDM_LANG_EXTERNAL_LIMIT (IDM_LANG + 79)
|
||||||
|
@ -400,6 +400,27 @@
|
|||||||
<WordsStyle name="STRING SINGLE" styleID="11" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="STRING SINGLE" styleID="11" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
<WordsStyle name="IDENTIFIER" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="IDENTIFIER" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
</LexerType>
|
</LexerType>
|
||||||
|
<LexerType name="ihex" desc="Intel HEX" ext="">
|
||||||
|
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECSTART" styleID="1" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECTYPE" styleID="2" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECTYPE_UNKNOWN" styleID="3" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
<WordsStyle name="BYTECOUNT" styleID="4" fgColor="7F7F00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="BYTECOUNT_WRONG" styleID="5" fgColor="FFFF00" bgColor="FF0000" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="NOADDRESS" styleID="6" fgColor="7F00FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="DATAADDRESS" styleID="7" fgColor="007FFF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<!-- RECCOUNT 8 N/A -->
|
||||||
|
<WordsStyle name="STARTADDRESS" styleID="9" fgColor="007FFF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="ADDRESSFIELD_UNKNOWN" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
<WordsStyle name="EXTENDEDADDRESS" styleID="11" fgColor="007FFF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="DATA_ODD" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
|
||||||
|
<WordsStyle name="DATA_EVEN" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="DATA_UNKNOWN" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
<WordsStyle name="DATA_EMPTY" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="CHECKSUM" styleID="16" fgColor="00BF00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="CHECKSUM_WRONG" styleID="17" fgColor="FFFF00" bgColor="FF0000" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="GARBAGE" styleID="18" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
</LexerType>
|
||||||
<LexerType name="java" desc="Java" ext="">
|
<LexerType name="java" desc="Java" ext="">
|
||||||
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
@ -767,6 +788,27 @@
|
|||||||
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
</LexerType>
|
</LexerType>
|
||||||
|
<LexerType name="srec" desc="S-Record" ext="">
|
||||||
|
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECSTART" styleID="1" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECTYPE" styleID="2" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECTYPE_UNKNOWN" styleID="3" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
<WordsStyle name="BYTECOUNT" styleID="4" fgColor="7F7F00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="BYTECOUNT_WRONG" styleID="5" fgColor="FFFF00" bgColor="FF0000" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="NOADDRESS" styleID="6" fgColor="7F00FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="DATAADDRESS" styleID="7" fgColor="007FFF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECCOUNT" styleID="8" fgColor="7F00FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="STARTADDRESS" styleID="9" fgColor="007FFF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="ADDRESSFIELD_UNKNOWN" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
<!-- EXTENDEDADDRESS 11 N/A -->
|
||||||
|
<WordsStyle name="DATA_ODD" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
|
||||||
|
<WordsStyle name="DATA_EVEN" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="DATA_UNKNOWN" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
<WordsStyle name="DATA_EMPTY" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="CHECKSUM" styleID="16" fgColor="00BF00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="CHECKSUM_WRONG" styleID="17" fgColor="FFFF00" bgColor="FF0000" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="GARBAGE" styleID="18" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
</LexerType>
|
||||||
<LexerType name="tcl" desc="TCL" ext="">
|
<LexerType name="tcl" desc="TCL" ext="">
|
||||||
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
<WordsStyle name="MODIFIER" styleID="10" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="MODIFIER" styleID="10" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
@ -785,6 +827,27 @@
|
|||||||
<WordsStyle name="COMMENT BOX" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
|
<WordsStyle name="COMMENT BOX" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
|
||||||
<WordsStyle name="BLOCK COMMENT" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="BLOCK COMMENT" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
</LexerType>
|
</LexerType>
|
||||||
|
<LexerType name="tehex" desc="Tektronix extended HEX" ext="">
|
||||||
|
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECSTART" styleID="1" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECTYPE" styleID="2" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="RECTYPE_UNKNOWN" styleID="3" fgColor="7F0000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
<WordsStyle name="BYTECOUNT" styleID="4" fgColor="7F7F00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="BYTECOUNT_WRONG" styleID="5" fgColor="FFFF00" bgColor="FF0000" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<!-- NOADDRESS 6 N/A -->
|
||||||
|
<WordsStyle name="DATAADDRESS" styleID="7" fgColor="007FFF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<!-- RECCOUNT 8 N/A -->
|
||||||
|
<WordsStyle name="STARTADDRESS" styleID="9" fgColor="007FFF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="ADDRESSFIELD_UNKNOWN" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
<!-- EXTENDEDADDRESS 11 N/A -->
|
||||||
|
<WordsStyle name="DATA_ODD" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
|
||||||
|
<WordsStyle name="DATA_EVEN" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<!-- DATA_UNKNOWN 14 N/A -->
|
||||||
|
<!-- DATA_EMPTY 15 N/A -->
|
||||||
|
<WordsStyle name="CHECKSUM" styleID="16" fgColor="00BF00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="CHECKSUM_WRONG" styleID="17" fgColor="FFFF00" bgColor="FF0000" fontName="" fontStyle="0" fontSize="" />
|
||||||
|
<WordsStyle name="GARBAGE" styleID="18" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
|
||||||
|
</LexerType>
|
||||||
<LexerType name="tex" desc="TeX" ext="">
|
<LexerType name="tex" desc="TeX" ext="">
|
||||||
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
|
||||||
<WordsStyle name="SPECIAL" styleID="1" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
|
<WordsStyle name="SPECIAL" styleID="1" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
|
||||||
|
Loading…
Reference in New Issue
Block a user