From 19e356d616da29b16784591da0c5fef6d33f6128 Mon Sep 17 00:00:00 2001 From: PeterCJ Date: Sun, 27 Apr 2025 13:14:40 -0700 Subject: [PATCH] Add ErrorList syntax highlighting Enable the errorlist lexer - Associates ".err" and ".log" with Language > E > ErrorList - When in ErrorList file, toggling View > Show Symbols > Show Control Characters & Unicode EOL will show/hide the whole `ESC[1;31m` sequence, not just the ESC symbol Related issues/topics: - https://community.notepad-plus-plus.org/topic/26801/reading-typescript-of-terminal-session - https://community.notepad-plus-plus.org/topic/23787/show-printable-ascii-characters-only - https://community.notepad-plus-plus.org/topic/23147/missing-lexers-from-lexilla - https://community.notepad-plus-plus.org/topic/22994/ansi-escape-sequences-color-rendering - https://community.notepad-plus-plus.org/topic/16612/interprete-ansi-color Fix #16437, fix #8078, close #16480 --- PowerEditor/installer/themes/Bespin.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Black board.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Choco.xml | 45 +++++++++++++++++++ .../installer/themes/DansLeRuSH-Dark.xml | 45 +++++++++++++++++++ .../installer/themes/DarkModeDefault.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Deep Black.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Hello Kitty.xml | 45 +++++++++++++++++++ .../installer/themes/HotFudgeSundae.xml | 45 +++++++++++++++++++ .../installer/themes/Mono Industrial.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Monokai.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/MossyLawn.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Navajo.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Obsidian.xml | 45 +++++++++++++++++++ .../installer/themes/Plastic Code Wrap.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Ruby Blue.xml | 45 +++++++++++++++++++ .../installer/themes/Solarized-light.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Solarized.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Twilight.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Vibrant Ink.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/Zenburn.xml | 45 +++++++++++++++++++ PowerEditor/installer/themes/khaki.xml | 45 +++++++++++++++++++ .../installer/themes/vim Dark Blue.xml | 45 +++++++++++++++++++ .../MISC/PluginsManager/Notepad_plus_msgs.h | 2 +- PowerEditor/src/Notepad_plus.cpp | 2 + PowerEditor/src/Notepad_plus.rc | 10 +++-- PowerEditor/src/NppCommands.cpp | 25 +++++++++++ PowerEditor/src/Parameters.cpp | 3 ++ .../ScintillaComponent/ScintillaEditView.cpp | 4 ++ .../ScintillaComponent/ScintillaEditView.h | 9 ++++ PowerEditor/src/langs.model.xml | 3 +- PowerEditor/src/menuCmdID.h | 3 +- PowerEditor/src/stylers.model.xml | 45 +++++++++++++++++++ 32 files changed, 1089 insertions(+), 7 deletions(-) diff --git a/PowerEditor/installer/themes/Bespin.xml b/PowerEditor/installer/themes/Bespin.xml index 51812d124..46585f6d2 100644 --- a/PowerEditor/installer/themes/Bespin.xml +++ b/PowerEditor/installer/themes/Bespin.xml @@ -172,6 +172,51 @@ Credits: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Black board.xml b/PowerEditor/installer/themes/Black board.xml index ecf91d33a..253af3600 100644 --- a/PowerEditor/installer/themes/Black board.xml +++ b/PowerEditor/installer/themes/Black board.xml @@ -174,6 +174,51 @@ Credits: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Choco.xml b/PowerEditor/installer/themes/Choco.xml index 612666064..33b314951 100644 --- a/PowerEditor/installer/themes/Choco.xml +++ b/PowerEditor/installer/themes/Choco.xml @@ -174,6 +174,51 @@ Credits: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/DansLeRuSH-Dark.xml b/PowerEditor/installer/themes/DansLeRuSH-Dark.xml index 523eb5419..a99ef7eec 100644 --- a/PowerEditor/installer/themes/DansLeRuSH-Dark.xml +++ b/PowerEditor/installer/themes/DansLeRuSH-Dark.xml @@ -355,6 +355,51 @@ Installation : Copy this file to "%APPDATA%\Notepad++\themes" and in a portable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/DarkModeDefault.xml b/PowerEditor/installer/themes/DarkModeDefault.xml index 2c414a924..10010b97f 100644 --- a/PowerEditor/installer/themes/DarkModeDefault.xml +++ b/PowerEditor/installer/themes/DarkModeDefault.xml @@ -497,6 +497,51 @@ License: GPL2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Deep Black.xml b/PowerEditor/installer/themes/Deep Black.xml index f5dd13be0..0fd9071a2 100644 --- a/PowerEditor/installer/themes/Deep Black.xml +++ b/PowerEditor/installer/themes/Deep Black.xml @@ -143,6 +143,51 @@ https://notepad-plus-plus.org/donate/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Hello Kitty.xml b/PowerEditor/installer/themes/Hello Kitty.xml index be6989793..00b108757 100644 --- a/PowerEditor/installer/themes/Hello Kitty.xml +++ b/PowerEditor/installer/themes/Hello Kitty.xml @@ -276,6 +276,51 @@ so your enhanced file can be included in Notepad++ future release. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/HotFudgeSundae.xml b/PowerEditor/installer/themes/HotFudgeSundae.xml index 754e9fc8e..848ed15f3 100644 --- a/PowerEditor/installer/themes/HotFudgeSundae.xml +++ b/PowerEditor/installer/themes/HotFudgeSundae.xml @@ -366,6 +366,51 @@ Installation: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Mono Industrial.xml b/PowerEditor/installer/themes/Mono Industrial.xml index 81ceec8aa..e1ed0255e 100644 --- a/PowerEditor/installer/themes/Mono Industrial.xml +++ b/PowerEditor/installer/themes/Mono Industrial.xml @@ -174,6 +174,51 @@ Credits: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Monokai.xml b/PowerEditor/installer/themes/Monokai.xml index 507dfb6dc..3fbe407d5 100644 --- a/PowerEditor/installer/themes/Monokai.xml +++ b/PowerEditor/installer/themes/Monokai.xml @@ -174,6 +174,51 @@ Credits: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/MossyLawn.xml b/PowerEditor/installer/themes/MossyLawn.xml index a153b4ab1..deb52f072 100644 --- a/PowerEditor/installer/themes/MossyLawn.xml +++ b/PowerEditor/installer/themes/MossyLawn.xml @@ -367,6 +367,51 @@ Installation: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Navajo.xml b/PowerEditor/installer/themes/Navajo.xml index 7f883c457..7a107811b 100644 --- a/PowerEditor/installer/themes/Navajo.xml +++ b/PowerEditor/installer/themes/Navajo.xml @@ -364,6 +364,51 @@ Installation: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Obsidian.xml b/PowerEditor/installer/themes/Obsidian.xml index 3a3ecf1de..d41368811 100644 --- a/PowerEditor/installer/themes/Obsidian.xml +++ b/PowerEditor/installer/themes/Obsidian.xml @@ -281,6 +281,51 @@ Notepad++ Custom Style + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Plastic Code Wrap.xml b/PowerEditor/installer/themes/Plastic Code Wrap.xml index 0ad034026..6544766bb 100644 --- a/PowerEditor/installer/themes/Plastic Code Wrap.xml +++ b/PowerEditor/installer/themes/Plastic Code Wrap.xml @@ -174,6 +174,51 @@ Credits: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Ruby Blue.xml b/PowerEditor/installer/themes/Ruby Blue.xml index f049bdcff..de0636928 100644 --- a/PowerEditor/installer/themes/Ruby Blue.xml +++ b/PowerEditor/installer/themes/Ruby Blue.xml @@ -169,6 +169,51 @@ http://sourceforge.net/donate/index.php?group_id=95717 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Solarized-light.xml b/PowerEditor/installer/themes/Solarized-light.xml index 09e219877..b75741e68 100644 --- a/PowerEditor/installer/themes/Solarized-light.xml +++ b/PowerEditor/installer/themes/Solarized-light.xml @@ -375,6 +375,51 @@ Installation: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Solarized.xml b/PowerEditor/installer/themes/Solarized.xml index 9ba62b0c9..7db1a3a02 100644 --- a/PowerEditor/installer/themes/Solarized.xml +++ b/PowerEditor/installer/themes/Solarized.xml @@ -464,6 +464,51 @@ Installation: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Twilight.xml b/PowerEditor/installer/themes/Twilight.xml index f474ecd70..862733f3e 100644 --- a/PowerEditor/installer/themes/Twilight.xml +++ b/PowerEditor/installer/themes/Twilight.xml @@ -175,6 +175,51 @@ Credits: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Vibrant Ink.xml b/PowerEditor/installer/themes/Vibrant Ink.xml index fa6de0230..05c6ae7cc 100644 --- a/PowerEditor/installer/themes/Vibrant Ink.xml +++ b/PowerEditor/installer/themes/Vibrant Ink.xml @@ -150,6 +150,51 @@ http://sourceforge.net/donate/index.php?group_id=95717 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/Zenburn.xml b/PowerEditor/installer/themes/Zenburn.xml index 0d9308a68..d492a229c 100644 --- a/PowerEditor/installer/themes/Zenburn.xml +++ b/PowerEditor/installer/themes/Zenburn.xml @@ -477,6 +477,51 @@ License: GPL2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/khaki.xml b/PowerEditor/installer/themes/khaki.xml index 3370e13cb..88c29e431 100644 --- a/PowerEditor/installer/themes/khaki.xml +++ b/PowerEditor/installer/themes/khaki.xml @@ -381,6 +381,51 @@ Installation: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/themes/vim Dark Blue.xml b/PowerEditor/installer/themes/vim Dark Blue.xml index abddf9a76..5b46f9c21 100644 --- a/PowerEditor/installer/themes/vim Dark Blue.xml +++ b/PowerEditor/installer/themes/vim Dark Blue.xml @@ -272,6 +272,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/src/MISC/PluginsManager/Notepad_plus_msgs.h b/PowerEditor/src/MISC/PluginsManager/Notepad_plus_msgs.h index c789ecae6..9369b88a0 100644 --- a/PowerEditor/src/MISC/PluginsManager/Notepad_plus_msgs.h +++ b/PowerEditor/src/MISC/PluginsManager/Notepad_plus_msgs.h @@ -39,7 +39,7 @@ enum LangType {L_TEXT, L_PHP , L_C, L_CPP, L_CS, L_OBJC, L_JAVA, L_RC,\ L_MMIXAL, L_NIM, L_NNCRONTAB, L_OSCRIPT, L_REBOL, \ L_REGISTRY, L_RUST, L_SPICE, L_TXT2TAGS, L_VISUALPROLOG,\ L_TYPESCRIPT, L_JSON5, L_MSSQL, L_GDSCRIPT, L_HOLLYWOOD,\ - L_GOLANG, L_RAKU, L_TOML, L_SAS,\ + L_GOLANG, L_RAKU, L_TOML, L_SAS, L_ERRORLIST, \ // Don't use L_JS, use L_JAVASCRIPT instead // The end of enumated language type, so it should be always at the end L_EXTERNAL}; diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 15fc3caf6..4ad209586 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -4064,6 +4064,8 @@ LangType Notepad_plus::menuID2LangType(int cmdID) return L_TOML; case IDM_LANG_SAS: return L_SAS; + case IDM_LANG_ERRORLIST: + return L_ERRORLIST; case IDM_LANG_USER: return L_USER; default: diff --git a/PowerEditor/src/Notepad_plus.rc b/PowerEditor/src/Notepad_plus.rc index 8e3b275ad..dd9e806be 100644 --- a/PowerEditor/src/Notepad_plus.rc +++ b/PowerEditor/src/Notepad_plus.rc @@ -111,7 +111,7 @@ IDI_SYNCV_ICON ICON "icons/light/toolbar/regular/syncV_off IDI_SYNCV_DISABLE_ICON ICON "icons/light/toolbar/regular/syncV_dis.ico" IDI_SYNCH_ICON ICON "icons/light/toolbar/regular/syncH_off.ico" IDI_SYNCH_DISABLE_ICON ICON "icons/light/toolbar/regular/syncH_dis.ico" -IDI_VIEW_DOC_MAP_ICON ICON "icons/light/toolbar/regular/docMap_off.ico" +IDI_VIEW_DOC_MAP_ICON ICON "icons/light/toolbar/regular/docMap_off.ico" IDI_VIEW_DOCLIST_ICON ICON "icons/light/toolbar/regular/docList_off.ico" IDI_VIEW_FUNCLIST_ICON ICON "icons/light/toolbar/regular/funcList_off.ico" IDI_VIEW_FILEBROWSER_ICON ICON "icons/light/toolbar/regular/fileBrowser_off.ico" @@ -768,7 +768,7 @@ BEGIN MENUITEM "Move to New Instance", IDM_VIEW_GOTO_NEW_INSTANCE MENUITEM "Open in New Instance", IDM_VIEW_LOAD_IN_NEW_INSTANCE END - + POPUP "Tab" BEGIN MENUITEM "1st Tab", IDM_VIEW_TAB1 @@ -1004,6 +1004,7 @@ BEGIN MENUITEM "D", IDM_LANG_D MENUITEM "Diff", IDM_LANG_DIFF MENUITEM "Erlang", IDM_LANG_ERLANG + MENUITEM "ErrorList", IDM_LANG_ERRORLIST MENUITEM "ESCRIPT", IDM_LANG_ESCRIPT MENUITEM "Forth", IDM_LANG_FORTH MENUITEM "Fortran (free form)", IDM_LANG_FORTRAN @@ -1119,6 +1120,7 @@ BEGIN POPUP "E" BEGIN MENUITEM "Erlang", IDM_LANG_ERLANG + MENUITEM "ErrorList", IDM_LANG_ERRORLIST MENUITEM "ESCRIPT", IDM_LANG_ESCRIPT END POPUP "F" @@ -1137,7 +1139,7 @@ BEGIN POPUP "H" BEGIN MENUITEM "Haskell", IDM_LANG_HASKELL - MENUITEM "Hollywood", IDM_LANG_HOLLYWOOD + MENUITEM "Hollywood", IDM_LANG_HOLLYWOOD MENUITEM "HTML", IDM_LANG_HTML END POPUP "I" @@ -1282,7 +1284,7 @@ BEGIN MENUITEM "Generate from selection into clipboard", IDM_TOOL_SHA512_GENERATEINTOCLIPBOARD END END - + POPUP "&Macro" BEGIN MENUITEM "Start Re&cording", IDM_MACRO_STARTRECORDINGMACRO diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index f75be00d3..86b6de7d6 100644 --- a/PowerEditor/src/NppCommands.cpp +++ b/PowerEditor/src/NppCommands.cpp @@ -2414,6 +2414,18 @@ void Notepad_plus::command(int id) checkMenuItem(IDM_VIEW_ALL_CHARACTERS, allChecked); _toolBar.setCheck(IDM_VIEW_ALL_CHARACTERS, allChecked); + // inform the relevant lexers about the update + std::vector pViews{ &_mainEditView, &_subEditView }; + for (auto pView : pViews) + { + Buffer* pBuf = pView->getCurrentBuffer(); + if (pBuf->getLangType() == L_ERRORLIST) + { + pView->execute(SCI_STYLESETVISIBLE, static_cast(SCE_ERR_ESCSEQ), static_cast(isChecked)); + pView->execute(SCI_STYLESETVISIBLE, static_cast(SCE_ERR_ESCSEQ_UNKNOWN), static_cast(isChecked)); + } + } + break; } @@ -2439,6 +2451,18 @@ void Notepad_plus::command(int id) _findReplaceDlg.updateFinderScintillaForNpc(); + // inform the relevant lexers about the update + std::vector pViews{ &_mainEditView, &_subEditView }; + for (auto pView : pViews) + { + Buffer* pBuf = pView->getCurrentBuffer(); + if (pBuf->getLangType() == L_ERRORLIST) + { + pView->execute(SCI_STYLESETVISIBLE, static_cast(SCE_ERR_ESCSEQ), static_cast(isChecked)); + pView->execute(SCI_STYLESETVISIBLE, static_cast(SCE_ERR_ESCSEQ_UNKNOWN), static_cast(isChecked)); + } + } + break; } @@ -3714,6 +3738,7 @@ void Notepad_plus::command(int id) case IDM_LANG_RAKU: case IDM_LANG_TOML: case IDM_LANG_SAS: + case IDM_LANG_ERRORLIST: case IDM_LANG_USER : { LangType lang = menuID2LangType(id); diff --git a/PowerEditor/src/Parameters.cpp b/PowerEditor/src/Parameters.cpp index 77556f6c1..d40bd3cdd 100644 --- a/PowerEditor/src/Parameters.cpp +++ b/PowerEditor/src/Parameters.cpp @@ -8437,6 +8437,9 @@ int NppParameters::langTypeToCommandID(LangType lt) const case L_SAS: id = IDM_LANG_SAS; break; + case L_ERRORLIST: + id = IDM_LANG_ERRORLIST; break; + case L_SEARCHRESULT : id = -1; break; diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp index 1b291720e..b9fd98c5a 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp @@ -163,6 +163,7 @@ LanguageNameInfo ScintillaEditView::_langNameInfoArray[L_EXTERNAL + 1] = { {L"raku", L"Raku", L"Raku source file", L_RAKU, "raku"}, {L"toml", L"TOML", L"Tom's Obvious Minimal Language file", L_TOML, "toml"}, {L"sas", L"SAS", L"SAS file", L_SAS, "sas"}, + {L"errorlist", L"ErrorList", L"ErrorList", L_ERRORLIST, "errorlist"}, {L"ext", L"External", L"External", L_EXTERNAL, "null"} }; @@ -2088,6 +2089,9 @@ void ScintillaEditView::defineDocType(LangType typeDoc) case L_SAS: setSasLexer(); break; + case L_ERRORLIST: + setErrorListLexer(); break; + case L_TEXT : default : if (typeDoc >= L_EXTERNAL && typeDoc < NppParameters::getInstance().L_END) diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.h b/PowerEditor/src/ScintillaComponent/ScintillaEditView.h index dba779605..404de4193 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.h +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.h @@ -1246,6 +1246,15 @@ protected: setLexer(L_SAS, LIST_0 | LIST_1 | LIST_2 | LIST_3); }; + void setErrorListLexer() { + setLexer(L_ERRORLIST, LIST_NONE); + bool do_show_escape_chars = isShownCcUniEol(); // decide based on the ControlCharacter+UnicodeEOL flag + execute(SCI_STYLESETVISIBLE, static_cast(SCE_ERR_ESCSEQ), static_cast(do_show_escape_chars)); + execute(SCI_STYLESETVISIBLE, static_cast(SCE_ERR_ESCSEQ_UNKNOWN), static_cast(do_show_escape_chars)); + execute(SCI_SETPROPERTY, reinterpret_cast("lexer.errorlist.value.separate"), reinterpret_cast("0")); + execute(SCI_SETPROPERTY, reinterpret_cast("lexer.errorlist.escape.sequences"), reinterpret_cast("1")); + } + //-------------------- void setSearchResultLexer() { diff --git a/PowerEditor/src/langs.model.xml b/PowerEditor/src/langs.model.xml index 7b17a2903..b2de9668a 100644 --- a/PowerEditor/src/langs.model.xml +++ b/PowerEditor/src/langs.model.xml @@ -1,7 +1,7 @@ - @@ -190,6 +190,7 @@ @author @clear @copyright @deprecated @doc @docfile @end @equiv @headerfile @hidden @private @reference @see @since @spec @throws @title @todo @TODO @type @version @date @docRoot @link @module @package @section @time @type @version + basic basicio boats cfgfile file http npc os uo util accessible addmenuitem appendconfigfileelem applyconstraint applydamage applyrawdamage assignrecttoweatherregion append baseskilltorawskill boatfromitem broadcast ban cdbl cint cstr checklineofsight checklosat checkskill consumemana consumereagents consumesubstance createaccount createitematlocation createiteminbackpack createitemininventory createitemincontainer createmenu createmultiatlocation createnpcfromtemplate createrootiteminstoragearea createstoragearea clear_script_profile_counters close damage destroyitem destroymulti destroyrootiteminstoragearea detach disableevents disconnectclient distance disable enableevents enumerateitemsincontainer enumerateonlinecharacters equipfromtemplate equipitem eraseglobalproperty eraseobjproperty enable enabled erase events_waiting exists findconfigelem findobjtypeincontainer findrootiteminstoragearea findstoragearea fclose find fopen fread fseek ftell fwrite gamestat getamount getcommandhelp getconfigint getconfigintkeys getconfigmaxintkey getconfigreal getconfigstring getconfigstringkeys getconfigstringarray getelemproperty getequipmentbylayer getglobalproperty getharvestdifficulty getmapinfo getmenuobjtypes getobjproperty getobjtype getobjtypebyname getproperty getrawskill getregionstring getskill getspelldifficulty getstandingheight getworldheight grantprivilege harvestresource healdamage hex islegalmove insert keys listequippeditems listghostsnearlocation listhostiles listitemsatlocation listitemsnearlocation listitemsnearlocationoftype listmobilesinlineofsight listmobilesnearlocation listmobilesnearlocationex listobjectsinbox loadtusscpfile left len log_profile lower makeboundingbox move moveboat moveboatrelative movecharactertolocation moveitemtocontainer moveitemtolocation move_offline_mobiles openpaperdoll open pack performaction playlightningbolteffect playmovingeffect playmovingeffectxyz playobjectcenteredeffect playsoundeffect playsoundeffectprivate playstationaryeffect printtextabove printtextaboveprivate packages polcore position print queryparam randomdiceroll randomint rawskilltobaseskill readconfigfile readgameclock releaseitem registerforspeechevents registeritemwithboat requestinput reserveitem restartscript resurrect revokeprivilege runawayfrom runawayfromlocation runtoward runtowardlocation reverse run_script_to_completion saveworldstate selectmenuitem2 self sendbuywindow senddialoggump sendevent sendopenspecialcontainer sendpacket sendsellwindow sendskillwindow sendstringastipwindow sendsysmessage sendtextentrygump setanchor setglobalproperty setname setobjproperty setopponent setproperty setrawskill setregionlightlevel setregionweatherlevel setscriptcontroller setwarmode shutdown speakpowerwords splitwords startspelleffect subtractamount systemfindboatbyserial systemfindobjectbyserial say set_critical set_debug set_priority set_priority_divide set_script_option setcmdlevel setdex setint setlightlevel setmaster setname setpassword setstr shrink size sleep sleepms sort spendgold squelch start_script syslog system_rpm target targetcoordinates targetmultiplacement turnawayfrom turnawayfromlocation turnboat turntoward turntowardlocation toggle unloadconfigfile unpack unban unload_scripts upper walkawayfrom walkawayfromlocation walktoward walktowardlocation wander writehtml writehtmlraw wait_for_event movechar_forcelocation moveitem_forcelocation moveitem_normal scriptopt_debug scriptopt_no_interrupt scriptopt_no_runaway te_cancel_disable te_cancel_enable te_style_disable te_style_normal te_style_numerical tgtopt_check_los tgtopt_harmful tgtopt_helpful tgtopt_neutral tgtopt_nocheck_los setprop getprop array const dictionary global local var and default in next not or return to include use enum diff --git a/PowerEditor/src/menuCmdID.h b/PowerEditor/src/menuCmdID.h index 13570225c..c029d2008 100644 --- a/PowerEditor/src/menuCmdID.h +++ b/PowerEditor/src/menuCmdID.h @@ -564,7 +564,8 @@ #define IDM_LANG_RAKU (IDM_LANG + 90) #define IDM_LANG_TOML (IDM_LANG + 91) #define IDM_LANG_SAS (IDM_LANG + 92) - + #define IDM_LANG_ERRORLIST (IDM_LANG + 93) + #define IDM_LANG_EXTERNAL (IDM_LANG + 165) #define IDM_LANG_EXTERNAL_LIMIT (IDM_LANG + 179) diff --git a/PowerEditor/src/stylers.model.xml b/PowerEditor/src/stylers.model.xml index 12091d320..a4c76e771 100644 --- a/PowerEditor/src/stylers.model.xml +++ b/PowerEditor/src/stylers.model.xml @@ -465,6 +465,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +