├── .gitattributes ├── .gitignore ├── Connect.png ├── Generated.png ├── KDbgEngExt ├── KDbgEngExt.cpp ├── KDbgEngExt.h ├── KDbgEngExt.rc ├── KDbgEngExt.vcxproj ├── KDbgEngExt.vcxproj.filters ├── common.h ├── config.json ├── crypto.cpp ├── crypto.h ├── dllmain.cpp ├── framework.h ├── jconf.h ├── netutils.cpp ├── netutils.h ├── nlohmann │ └── json.hpp ├── pch.cpp ├── pch.h ├── resource.h ├── server.cpp ├── server.h ├── utils.cpp ├── utils.h ├── winsock.cpp └── winsock.h ├── KReClassEx.sln ├── KReClassEx ├── AboutDlg.cpp ├── AboutDlg.h ├── BitArray.h ├── ClassDependencyGraph.cpp ├── ClassDependencyGraph.h ├── ClassView.cpp ├── ClassView.h ├── ClassesDlg.cpp ├── ClassesDlg.h ├── CustomEdit.cpp ├── CustomEdit.h ├── CustomToolTip.cpp ├── CustomToolTip.h ├── EditDlg.cpp ├── EditDlg.h ├── HotSpot.h ├── Interfaces.h ├── KReClassEx.cpp ├── KReClassEx.h ├── KReClassEx.rc ├── KReClassEx.vcxproj ├── KReClassEx.vcxproj.filters ├── MainFrm.cpp ├── MainFrm.h ├── Memory.h ├── NodeArray.cpp ├── NodeArray.h ├── NodeBase.cpp ├── NodeBase.h ├── NodeBits.cpp ├── NodeBits.h ├── NodeByte.cpp ├── NodeByte.h ├── NodeCharPtr.cpp ├── NodeCharPtr.h ├── NodeClass.cpp ├── NodeClass.h ├── NodeClassInstance.cpp ├── NodeClassInstance.h ├── NodeCustom.cpp ├── NodeCustom.h ├── NodeDWORD.cpp ├── NodeDWORD.h ├── NodeDouble.cpp ├── NodeDouble.h ├── NodeFloat.cpp ├── NodeFloat.h ├── NodeFunction.cpp ├── NodeFunction.h ├── NodeFunctionPtr.cpp ├── NodeFunctionPtr.h ├── NodeHex16.cpp ├── NodeHex16.h ├── NodeHex32.cpp ├── NodeHex32.h ├── NodeHex64.cpp ├── NodeHex64.h ├── NodeHex8.cpp ├── NodeHex8.h ├── NodeInt16.cpp ├── NodeInt16.h ├── NodeInt32.cpp ├── NodeInt32.h ├── NodeInt64.cpp ├── NodeInt64.h ├── NodeInt8.cpp ├── NodeInt8.h ├── NodeListEntry.cpp ├── NodeListEntry.h ├── NodeMatrix.cpp ├── NodeMatrix.h ├── NodePtr.cpp ├── NodePtr.h ├── NodePtrArray.cpp ├── NodePtrArray.h ├── NodeQWORD.cpp ├── NodeQWORD.h ├── NodeQuat.cpp ├── NodeQuat.h ├── NodeText.cpp ├── NodeText.h ├── NodeType.cpp ├── NodeTypes.h ├── NodeUnicode.cpp ├── NodeUnicode.h ├── NodeVTable.cpp ├── NodeVTable.h ├── NodeVec2.cpp ├── NodeVec2.h ├── NodeVec3.cpp ├── NodeVec3.h ├── NodeWCharPtr.cpp ├── NodeWCharPtr.h ├── NodeWORD.cpp ├── NodeWORD.h ├── Nodes.h ├── Ribbon.bml ├── Ribbon.h ├── Ribbon.rc ├── Ribbon.xml ├── ScintillaCtrl.h ├── ScintillaView.cpp ├── ScintillaView.h ├── config.json ├── crypto.cpp ├── crypto.h ├── jconf.h ├── local.cpp ├── local.h ├── netutils.cpp ├── netutils.h ├── nlohmann │ └── json.hpp ├── packages.config ├── res │ ├── KReClassEx.ico │ ├── Undo.bmp │ ├── home_large_class.bmp │ ├── home_large_console.bmp │ ├── home_large_edit.bmp │ ├── home_large_generate.bmp │ ├── home_large_modules.bmp │ ├── home_large_notes.bmp │ ├── home_large_reset.bmp │ ├── home_large_search.bmp │ ├── home_large_select.bmp │ ├── home_small_clean_up.bmp │ ├── home_small_code.bmp │ ├── home_small_delete.bmp │ ├── home_small_footer.bmp │ ├── home_small_header.bmp │ ├── home_small_typedef.bmp │ ├── icons │ │ ├── add.ico │ │ ├── array.ico │ │ ├── arrow_icon.ico │ │ ├── camera.ico │ │ ├── close.ico │ │ ├── closed.ico │ │ ├── custom.ico │ │ ├── enum.ico │ │ ├── exchange.ico │ │ ├── float.ico │ │ ├── general_class_VS.ico │ │ ├── general_interface_VS.ico │ │ ├── general_method_VS.ico │ │ ├── left.ico │ │ ├── list_entry.ico │ │ ├── matrix.ico │ │ ├── open.ico │ │ ├── pointer.ico │ │ ├── right.ico │ │ ├── signed.ico │ │ ├── speles_random_ico.ico │ │ ├── text.ico │ │ ├── unsigned.ico │ │ └── vector.ico │ ├── toolbar.bmp │ ├── toolbar_add.bmp │ ├── toolbar_add1024.bmp │ ├── toolbar_add2048.bmp │ ├── toolbar_add64.bmp │ ├── toolbar_add8.bmp │ ├── toolbar_array.bmp │ ├── toolbar_ascii.bmp │ ├── toolbar_bits.bmp │ ├── toolbar_byte.bmp │ ├── toolbar_class.bmp │ ├── toolbar_custom.bmp │ ├── toolbar_delete.bmp │ ├── toolbar_double.bmp │ ├── toolbar_dword.bmp │ ├── toolbar_float.bmp │ ├── toolbar_function.bmp │ ├── toolbar_function_ptr.bmp │ ├── toolbar_hex16.bmp │ ├── toolbar_hex32.bmp │ ├── toolbar_hex64.bmp │ ├── toolbar_hex8.bmp │ ├── toolbar_hide.bmp │ ├── toolbar_insert.bmp │ ├── toolbar_insert1024.bmp │ ├── toolbar_insert2048.bmp │ ├── toolbar_insert64.bmp │ ├── toolbar_insert8.bmp │ ├── toolbar_int16.bmp │ ├── toolbar_int32.bmp │ ├── toolbar_int64.bmp │ ├── toolbar_int8.bmp │ ├── toolbar_list_entry.bmp │ ├── toolbar_matrix.bmp │ ├── toolbar_parray.bmp │ ├── toolbar_pchar.bmp │ ├── toolbar_pointer.bmp │ ├── toolbar_pwchar.bmp │ ├── toolbar_qword.bmp │ ├── toolbar_show.bmp │ ├── toolbar_unicode.bmp │ ├── toolbar_vec2.bmp │ ├── toolbar_vec3.bmp │ ├── toolbar_vec4.bmp │ ├── toolbar_vtable.bmp │ └── toolbar_word.bmp ├── resource.h ├── stdafx.cpp ├── stdafx.h ├── utils.cpp ├── utils.h ├── winsock.cpp └── winsock.h ├── LICENSE ├── Main.png ├── README.md ├── ida.png ├── lexilla ├── .gitattributes ├── .github │ └── workflows │ │ ├── build-check-macos.yml │ │ ├── build-check-win32.yml │ │ └── build-check.yml ├── .gitignore ├── .travis.yml ├── CONTRIBUTING ├── License.txt ├── README ├── access │ ├── LexillaAccess.cxx │ ├── LexillaAccess.h │ └── README ├── cppcheck.suppress ├── delbin.bat ├── doc │ ├── Lexilla.html │ ├── LexillaDoc.html │ ├── LexillaDownload.html │ ├── LexillaHistory.html │ ├── LexillaLogo.png │ └── LexillaLogo2x.png ├── examples │ ├── CheckLexilla │ │ ├── CheckLexilla.c │ │ └── makefile │ └── SimpleLexer │ │ ├── SimpleLexer.cxx │ │ └── makefile ├── include │ ├── LexicalStyles.iface │ ├── Lexilla.h │ └── SciLexer.h ├── lexers │ ├── LexA68k.cxx │ ├── LexAPDL.cxx │ ├── LexASY.cxx │ ├── LexAU3.cxx │ ├── LexAVE.cxx │ ├── LexAVS.cxx │ ├── LexAbaqus.cxx │ ├── LexAda.cxx │ ├── LexAsciidoc.cxx │ ├── LexAsm.cxx │ ├── LexAsn1.cxx │ ├── LexBaan.cxx │ ├── LexBash.cxx │ ├── LexBasic.cxx │ ├── LexBatch.cxx │ ├── LexBibTeX.cxx │ ├── LexBullant.cxx │ ├── LexCIL.cxx │ ├── LexCLW.cxx │ ├── LexCOBOL.cxx │ ├── LexCPP.cxx │ ├── LexCSS.cxx │ ├── LexCaml.cxx │ ├── LexCmake.cxx │ ├── LexCoffeeScript.cxx │ ├── LexConf.cxx │ ├── LexCrontab.cxx │ ├── LexCsound.cxx │ ├── LexD.cxx │ ├── LexDMAP.cxx │ ├── LexDMIS.cxx │ ├── LexDataflex.cxx │ ├── LexDiff.cxx │ ├── LexECL.cxx │ ├── LexEDIFACT.cxx │ ├── LexEScript.cxx │ ├── LexEiffel.cxx │ ├── LexErlang.cxx │ ├── LexErrorList.cxx │ ├── LexFSharp.cxx │ ├── LexFlagship.cxx │ ├── LexForth.cxx │ ├── LexFortran.cxx │ ├── LexGAP.cxx │ ├── LexGDScript.cxx │ ├── LexGui4Cli.cxx │ ├── LexHTML.cxx │ ├── LexHaskell.cxx │ ├── LexHex.cxx │ ├── LexHollywood.cxx │ ├── LexIndent.cxx │ ├── LexInno.cxx │ ├── LexJSON.cxx │ ├── LexJulia.cxx │ ├── LexKVIrc.cxx │ ├── LexKix.cxx │ ├── LexLaTeX.cxx │ ├── LexLisp.cxx │ ├── LexLout.cxx │ ├── LexLua.cxx │ ├── LexMMIXAL.cxx │ ├── LexMPT.cxx │ ├── LexMSSQL.cxx │ ├── LexMagik.cxx │ ├── LexMake.cxx │ ├── LexMarkdown.cxx │ ├── LexMatlab.cxx │ ├── LexMaxima.cxx │ ├── LexMetapost.cxx │ ├── LexModula.cxx │ ├── LexMySQL.cxx │ ├── LexNim.cxx │ ├── LexNimrod.cxx │ ├── LexNsis.cxx │ ├── LexNull.cxx │ ├── LexOScript.cxx │ ├── LexOpal.cxx │ ├── LexPB.cxx │ ├── LexPLM.cxx │ ├── LexPO.cxx │ ├── LexPOV.cxx │ ├── LexPS.cxx │ ├── LexPascal.cxx │ ├── LexPerl.cxx │ ├── LexPowerPro.cxx │ ├── LexPowerShell.cxx │ ├── LexProgress.cxx │ ├── LexProps.cxx │ ├── LexPython.cxx │ ├── LexR.cxx │ ├── LexRaku.cxx │ ├── LexRebol.cxx │ ├── LexRegistry.cxx │ ├── LexRuby.cxx │ ├── LexRust.cxx │ ├── LexSAS.cxx │ ├── LexSML.cxx │ ├── LexSQL.cxx │ ├── LexSTTXT.cxx │ ├── LexScriptol.cxx │ ├── LexSmalltalk.cxx │ ├── LexSorcus.cxx │ ├── LexSpecman.cxx │ ├── LexSpice.cxx │ ├── LexStata.cxx │ ├── LexTACL.cxx │ ├── LexTADS3.cxx │ ├── LexTAL.cxx │ ├── LexTCL.cxx │ ├── LexTCMD.cxx │ ├── LexTeX.cxx │ ├── LexTxt2tags.cxx │ ├── LexVB.cxx │ ├── LexVHDL.cxx │ ├── LexVerilog.cxx │ ├── LexVisualProlog.cxx │ ├── LexX12.cxx │ └── LexYAML.cxx ├── lexlib │ ├── Accessor.cxx │ ├── Accessor.h │ ├── CatalogueModules.h │ ├── CharacterCategory.cxx │ ├── CharacterCategory.h │ ├── CharacterSet.cxx │ ├── CharacterSet.h │ ├── DefaultLexer.cxx │ ├── DefaultLexer.h │ ├── LexAccessor.cxx │ ├── LexAccessor.h │ ├── LexerBase.cxx │ ├── LexerBase.h │ ├── LexerModule.cxx │ ├── LexerModule.h │ ├── LexerNoExceptions.cxx │ ├── LexerNoExceptions.h │ ├── LexerSimple.cxx │ ├── LexerSimple.h │ ├── OptionSet.h │ ├── PropSetSimple.cxx │ ├── PropSetSimple.h │ ├── SparseState.h │ ├── StringCopy.h │ ├── StyleContext.cxx │ ├── StyleContext.h │ ├── SubStyles.h │ ├── WordList.cxx │ └── WordList.h ├── scripts │ ├── HeaderOrder.txt │ ├── LexFacer.py │ ├── LexillaData.py │ ├── LexillaGen.py │ ├── LexillaLogo.py │ ├── PromoteNew.bat │ ├── RunTest.bat │ └── RunTest.sh ├── src │ ├── DepGen.py │ ├── Lexilla.cxx │ ├── Lexilla.def │ ├── Lexilla.pro │ ├── Lexilla.vcxproj │ ├── Lexilla │ │ ├── Info.plist │ │ └── Lexilla.xcodeproj │ │ │ ├── project.pbxproj │ │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── LexillaVersion.rc │ ├── deps.mak │ ├── lexilla.mak │ ├── makefile │ └── nmdeps.mak ├── test │ ├── README │ ├── TestDocument.cxx │ ├── TestDocument.h │ ├── TestLexers.cxx │ ├── TestLexers.vcxproj │ ├── examples │ │ ├── asciidoc │ │ │ ├── AllStyles.adoc │ │ │ ├── AllStyles.adoc.folded │ │ │ ├── AllStyles.adoc.styled │ │ │ └── SciTE.properties │ │ ├── bash │ │ │ ├── AllStyles.bsh │ │ │ ├── AllStyles.bsh.folded │ │ │ ├── AllStyles.bsh.styled │ │ │ ├── Issue180.bsh │ │ │ ├── Issue180.bsh.folded │ │ │ ├── Issue180.bsh.styled │ │ │ ├── Issue182.bsh │ │ │ ├── Issue182.bsh.folded │ │ │ ├── Issue182.bsh.styled │ │ │ ├── Issue184.bsh │ │ │ ├── Issue184.bsh.folded │ │ │ ├── Issue184.bsh.styled │ │ │ ├── Issue184Copy.bsh │ │ │ ├── Issue184Copy.bsh.folded │ │ │ ├── Issue184Copy.bsh.styled │ │ │ ├── Nested.bsh │ │ │ ├── Nested.bsh.folded │ │ │ ├── Nested.bsh.styled │ │ │ ├── NestedRich.bsh │ │ │ ├── NestedRich.bsh.folded │ │ │ ├── NestedRich.bsh.styled │ │ │ ├── NestedStyledInside.bsh │ │ │ ├── NestedStyledInside.bsh.folded │ │ │ ├── NestedStyledInside.bsh.styled │ │ │ ├── SciTE.properties │ │ │ ├── x.bsh │ │ │ ├── x.bsh.folded │ │ │ └── x.bsh.styled │ │ ├── batch │ │ │ ├── Issue115.bat │ │ │ ├── Issue115.bat.folded │ │ │ ├── Issue115.bat.styled │ │ │ ├── SciTE.properties │ │ │ ├── x.bat │ │ │ ├── x.bat.folded │ │ │ └── x.bat.styled │ │ ├── caml │ │ │ ├── AllStyles.ml │ │ │ ├── AllStyles.ml.folded │ │ │ ├── AllStyles.ml.styled │ │ │ └── SciTE.properties │ │ ├── cmake │ │ │ ├── Bug77_0.cmake │ │ │ ├── Bug77_0.cmake.folded │ │ │ ├── Bug77_0.cmake.styled │ │ │ ├── Bug77_1.cmake │ │ │ ├── Bug77_1.cmake.folded │ │ │ ├── Bug77_1.cmake.styled │ │ │ └── SciTE.properties │ │ ├── cpp │ │ │ ├── 130NonAsciiKeyword.cxx │ │ │ ├── 130NonAsciiKeyword.cxx.folded │ │ │ ├── 130NonAsciiKeyword.cxx.styled │ │ │ ├── 149KeywordCase.cxx │ │ │ ├── 149KeywordCase.cxx.folded │ │ │ ├── 149KeywordCase.cxx.styled │ │ │ ├── AllStyles.cxx │ │ │ ├── AllStyles.cxx.folded │ │ │ ├── AllStyles.cxx.styled │ │ │ ├── Bug2245.cxx │ │ │ ├── Bug2245.cxx.folded │ │ │ ├── Bug2245.cxx.styled │ │ │ ├── SciTE.properties │ │ │ ├── x.cxx │ │ │ ├── x.cxx.folded │ │ │ └── x.cxx.styled │ │ ├── css │ │ │ ├── AllStyles.css │ │ │ ├── AllStyles.css.folded │ │ │ ├── AllStyles.css.styled │ │ │ └── SciTE.properties │ │ ├── d │ │ │ ├── SciTE.properties │ │ │ ├── x.d │ │ │ ├── x.d.folded │ │ │ └── x.d.styled │ │ ├── diff │ │ │ ├── AllStyles.diff │ │ │ ├── AllStyles.diff.folded │ │ │ ├── AllStyles.diff.styled │ │ │ ├── LongLine.diff │ │ │ ├── LongLine.diff.folded │ │ │ ├── LongLine.diff.styled │ │ │ └── SciTE.properties │ │ ├── erlang │ │ │ ├── AllStyles.erl │ │ │ ├── AllStyles.erl.folded │ │ │ ├── AllStyles.erl.styled │ │ │ └── SciTE.properties │ │ ├── errorlist │ │ │ ├── AllStyles.err │ │ │ ├── AllStyles.err.folded │ │ │ ├── AllStyles.err.styled │ │ │ └── SciTE.properties │ │ ├── fsharp │ │ │ ├── FmtSpecs.fs │ │ │ ├── FmtSpecs.fs.folded │ │ │ ├── FmtSpecs.fs.styled │ │ │ ├── Issue56.fs │ │ │ ├── Issue56.fs.folded │ │ │ ├── Issue56.fs.styled │ │ │ ├── Issue93.fs │ │ │ ├── Issue93.fs.folded │ │ │ ├── Issue93.fs.styled │ │ │ ├── Literals.fs │ │ │ ├── Literals.fs.folded │ │ │ ├── Literals.fs.styled │ │ │ ├── SciTE.properties │ │ │ ├── x.fs │ │ │ ├── x.fs.folded │ │ │ └── x.fs.styled │ │ ├── gdscript │ │ │ ├── AllStyles.gd │ │ │ ├── AllStyles.gd.folded │ │ │ ├── AllStyles.gd.styled │ │ │ ├── NodePath.gd │ │ │ ├── NodePath.gd.folded │ │ │ ├── NodePath.gd.styled │ │ │ └── SciTE.properties │ │ ├── gui4cli │ │ │ ├── AllStyles.gui │ │ │ ├── AllStyles.gui.folded │ │ │ ├── AllStyles.gui.styled │ │ │ └── SciTE.properties │ │ ├── hypertext │ │ │ ├── Bug2207.html │ │ │ ├── Bug2207.html.folded │ │ │ ├── Bug2207.html.styled │ │ │ ├── Bug2219.html │ │ │ ├── Bug2219.html.folded │ │ │ ├── Bug2219.html.styled │ │ │ ├── Issue19.php │ │ │ ├── Issue19.php.folded │ │ │ ├── Issue19.php.styled │ │ │ ├── Issue20Numbers.php │ │ │ ├── Issue20Numbers.php.folded │ │ │ ├── Issue20Numbers.php.styled │ │ │ ├── Issue47.html │ │ │ ├── Issue47.html.folded │ │ │ ├── Issue47.html.styled │ │ │ ├── Issue53.html │ │ │ ├── Issue53.html.folded │ │ │ ├── Issue53.html.styled │ │ │ ├── SciTE.properties │ │ │ ├── ServerBasic.aspx │ │ │ ├── ServerBasic.aspx.folded │ │ │ ├── ServerBasic.aspx.styled │ │ │ ├── ServerJavaScript.aspx │ │ │ ├── ServerJavaScript.aspx.folded │ │ │ ├── ServerJavaScript.aspx.styled │ │ │ ├── apostophe.php │ │ │ ├── apostophe.php.folded │ │ │ ├── apostophe.php.styled │ │ │ ├── x.asp │ │ │ ├── x.asp.folded │ │ │ ├── x.asp.styled │ │ │ ├── x.html │ │ │ ├── x.html.folded │ │ │ ├── x.html.styled │ │ │ ├── x.php │ │ │ ├── x.php.folded │ │ │ └── x.php.styled │ │ ├── inno │ │ │ ├── SciTE.properties │ │ │ ├── x.iss │ │ │ ├── x.iss.folded │ │ │ └── x.iss.styled │ │ ├── json │ │ │ ├── AllStyles.json │ │ │ ├── AllStyles.json.folded │ │ │ ├── AllStyles.json.styled │ │ │ └── SciTE.properties │ │ ├── julia │ │ │ ├── SciTE.properties │ │ │ ├── x.jl │ │ │ ├── x.jl.folded │ │ │ └── x.jl.styled │ │ ├── latex │ │ │ ├── AllStyles.tex │ │ │ ├── AllStyles.tex.folded │ │ │ ├── AllStyles.tex.styled │ │ │ ├── Feature1358.tex │ │ │ ├── Feature1358.tex.folded │ │ │ ├── Feature1358.tex.styled │ │ │ └── SciTE.properties │ │ ├── lua │ │ │ ├── Bug2205.lua │ │ │ ├── Bug2205.lua.folded │ │ │ ├── Bug2205.lua.styled │ │ │ ├── SciTE.properties │ │ │ ├── x.lua │ │ │ ├── x.lua.folded │ │ │ └── x.lua.styled │ │ ├── makefile │ │ │ ├── SciTE.properties │ │ │ ├── longline.mak │ │ │ ├── longline.mak.folded │ │ │ ├── longline.mak.styled │ │ │ ├── x.mak │ │ │ ├── x.mak.folded │ │ │ └── x.mak.styled │ │ ├── markdown │ │ │ ├── AllStyles.md │ │ │ ├── AllStyles.md.folded │ │ │ ├── AllStyles.md.styled │ │ │ ├── Bug1216.md │ │ │ ├── Bug1216.md.folded │ │ │ ├── Bug1216.md.styled │ │ │ ├── Bug2235.md │ │ │ ├── Bug2235.md.folded │ │ │ ├── Bug2235.md.styled │ │ │ ├── Bug2247.md │ │ │ ├── Bug2247.md.folded │ │ │ ├── Bug2247.md.styled │ │ │ ├── HeaderEOLFill_0.md │ │ │ ├── HeaderEOLFill_0.md.folded │ │ │ ├── HeaderEOLFill_0.md.styled │ │ │ ├── HeaderEOLFill_1.md │ │ │ ├── HeaderEOLFill_1.md.folded │ │ │ ├── HeaderEOLFill_1.md.styled │ │ │ ├── Issue117.md │ │ │ ├── Issue117.md.folded │ │ │ ├── Issue117.md.styled │ │ │ └── SciTE.properties │ │ ├── matlab │ │ │ ├── AllStyles.m.matlab │ │ │ ├── AllStyles.m.matlab.folded │ │ │ ├── AllStyles.m.matlab.styled │ │ │ ├── AllStyles.m.octave │ │ │ ├── AllStyles.m.octave.folded │ │ │ ├── AllStyles.m.octave.styled │ │ │ ├── ArgumentsBlock.m.matlab │ │ │ ├── ArgumentsBlock.m.matlab.folded │ │ │ ├── ArgumentsBlock.m.matlab.styled │ │ │ ├── ClassDefinition.m.matlab │ │ │ ├── ClassDefinition.m.matlab.folded │ │ │ ├── ClassDefinition.m.matlab.styled │ │ │ ├── FoldPoints.m.matlab │ │ │ ├── FoldPoints.m.matlab.folded │ │ │ ├── FoldPoints.m.matlab.styled │ │ │ ├── Issue18_EscapeSequence.m.matlab │ │ │ ├── Issue18_EscapeSequence.m.matlab.folded │ │ │ ├── Issue18_EscapeSequence.m.matlab.styled │ │ │ ├── Issue18_EscapeSequence.m.octave │ │ │ ├── Issue18_EscapeSequence.m.octave.folded │ │ │ ├── Issue18_EscapeSequence.m.octave.styled │ │ │ ├── NumericLiterals.m.matlab │ │ │ ├── NumericLiterals.m.matlab.folded │ │ │ ├── NumericLiterals.m.matlab.styled │ │ │ └── SciTE.properties │ │ ├── mmixal │ │ │ ├── AllStyles.mms │ │ │ ├── AllStyles.mms.folded │ │ │ ├── AllStyles.mms.styled │ │ │ ├── SciTE.properties │ │ │ ├── references.mms │ │ │ ├── references.mms.folded │ │ │ ├── references.mms.styled │ │ │ ├── x.mms │ │ │ ├── x.mms.folded │ │ │ └── x.mms.styled │ │ ├── modula │ │ │ ├── 128Endless.m3 │ │ │ ├── 128Endless.m3.folded │ │ │ ├── 128Endless.m3.styled │ │ │ ├── Issue129.m3 │ │ │ ├── Issue129.m3.folded │ │ │ ├── Issue129.m3.styled │ │ │ └── SciTE.properties │ │ ├── mssql │ │ │ ├── AllStyles.tsql │ │ │ ├── AllStyles.tsql.folded │ │ │ ├── AllStyles.tsql.styled │ │ │ ├── Issue87.tsql │ │ │ ├── Issue87.tsql.folded │ │ │ ├── Issue87.tsql.styled │ │ │ ├── Issue90.tsql │ │ │ ├── Issue90.tsql.folded │ │ │ ├── Issue90.tsql.styled │ │ │ ├── SciTE.properties │ │ │ ├── Various.tsql │ │ │ ├── Various.tsql.folded │ │ │ └── Various.tsql.styled │ │ ├── nim │ │ │ ├── SciTE.properties │ │ │ ├── x.nim │ │ │ ├── x.nim.folded │ │ │ └── x.nim.styled │ │ ├── perl │ │ │ ├── SciTE.properties │ │ │ ├── perl-test-5220delta.pl │ │ │ ├── perl-test-5220delta.pl.folded │ │ │ ├── perl-test-5220delta.pl.styled │ │ │ ├── perl-test-sub-prototypes.pl │ │ │ ├── perl-test-sub-prototypes.pl.folded │ │ │ ├── perl-test-sub-prototypes.pl.styled │ │ │ ├── x.pl │ │ │ ├── x.pl.folded │ │ │ └── x.pl.styled │ │ ├── powershell │ │ │ ├── AllStyles.ps1 │ │ │ ├── AllStyles.ps1.folded │ │ │ ├── AllStyles.ps1.styled │ │ │ ├── CharacterTruncation.ps1 │ │ │ ├── CharacterTruncation.ps1.folded │ │ │ ├── CharacterTruncation.ps1.styled │ │ │ ├── NumericLiterals.ps1 │ │ │ ├── NumericLiterals.ps1.folded │ │ │ ├── NumericLiterals.ps1.styled │ │ │ ├── Pull92.ps1 │ │ │ ├── Pull92.ps1.folded │ │ │ ├── Pull92.ps1.styled │ │ │ ├── Pull99Comment.ps1 │ │ │ ├── Pull99Comment.ps1.folded │ │ │ ├── Pull99Comment.ps1.styled │ │ │ └── SciTE.properties │ │ ├── props │ │ │ ├── Issue96Folding.props │ │ │ ├── Issue96Folding.props.folded │ │ │ ├── Issue96Folding.props.styled │ │ │ ├── SciTE.properties │ │ │ ├── example.session │ │ │ ├── example.session.folded │ │ │ └── example.session.styled │ │ ├── python │ │ │ ├── AllStyles.py │ │ │ ├── AllStyles.py.folded │ │ │ ├── AllStyles.py.styled │ │ │ ├── SciTE.properties │ │ │ ├── attributes │ │ │ │ ├── SciTE.properties │ │ │ │ ├── attributes.py │ │ │ │ ├── attributes.py.folded │ │ │ │ └── attributes.py.styled │ │ │ ├── matchcase.py │ │ │ ├── matchcase.py.folded │ │ │ ├── matchcase.py.styled │ │ │ ├── x.py │ │ │ ├── x.py.folded │ │ │ └── x.py.styled │ │ ├── r │ │ │ ├── 102Backticks.r │ │ │ ├── 102Backticks.r.folded │ │ │ ├── 102Backticks.r.styled │ │ │ ├── AllStyles.r │ │ │ ├── AllStyles.r.folded │ │ │ ├── AllStyles.r.styled │ │ │ └── SciTE.properties │ │ ├── raku │ │ │ ├── SciTE.properties │ │ │ ├── x.p6 │ │ │ ├── x.p6.folded │ │ │ └── x.p6.styled │ │ ├── ruby │ │ │ ├── AllStyles.rb │ │ │ ├── AllStyles.rb.folded │ │ │ ├── AllStyles.rb.styled │ │ │ ├── Issue132.rb │ │ │ ├── Issue132.rb.folded │ │ │ ├── Issue132.rb.styled │ │ │ ├── Issue135.rb │ │ │ ├── Issue135.rb.folded │ │ │ ├── Issue135.rb.styled │ │ │ ├── Issue136.rb │ │ │ ├── Issue136.rb.folded │ │ │ ├── Issue136.rb.styled │ │ │ ├── Issue140.rb │ │ │ ├── Issue140.rb.folded │ │ │ ├── Issue140.rb.styled │ │ │ ├── Issue65.rb │ │ │ ├── Issue65.rb.folded │ │ │ ├── Issue65.rb.styled │ │ │ ├── Issue66.rb │ │ │ ├── Issue66.rb.folded │ │ │ ├── Issue66.rb.styled │ │ │ ├── Issue67.rb │ │ │ ├── Issue67.rb.folded │ │ │ ├── Issue67.rb.styled │ │ │ ├── Issue69.rb │ │ │ ├── Issue69.rb.folded │ │ │ ├── Issue69.rb.styled │ │ │ ├── PercentEquals124.rb │ │ │ ├── PercentEquals124.rb.folded │ │ │ ├── PercentEquals124.rb.styled │ │ │ ├── SciTE.properties │ │ │ ├── x.rb │ │ │ ├── x.rb.folded │ │ │ └── x.rb.styled │ │ ├── rust │ │ │ ├── Issue33.rs │ │ │ ├── Issue33.rs.folded │ │ │ ├── Issue33.rs.styled │ │ │ ├── Issue34.rs │ │ │ ├── Issue34.rs.folded │ │ │ ├── Issue34.rs.styled │ │ │ ├── Issue35.rs │ │ │ ├── Issue35.rs.folded │ │ │ ├── Issue35.rs.styled │ │ │ └── SciTE.properties │ │ ├── tcl │ │ │ ├── SciTE.properties │ │ │ ├── x.tcl │ │ │ ├── x.tcl.folded │ │ │ └── x.tcl.styled │ │ ├── vb │ │ │ ├── SciTE.properties │ │ │ ├── x.vb │ │ │ ├── x.vb.folded │ │ │ └── x.vb.styled │ │ ├── vhdl │ │ │ ├── SciTE.properties │ │ │ ├── x.vhd │ │ │ ├── x.vhd.folded │ │ │ └── x.vhd.styled │ │ ├── visualprolog │ │ │ ├── AllStyles.pl │ │ │ ├── AllStyles.pl.folded │ │ │ ├── AllStyles.pl.styled │ │ │ ├── AllStyles.pro │ │ │ ├── AllStyles.pro.folded │ │ │ ├── AllStyles.pro.styled │ │ │ └── SciTE.properties │ │ ├── x12 │ │ │ ├── SciTE.properties │ │ │ ├── empty.x12 │ │ │ ├── empty.x12.folded │ │ │ ├── empty.x12.styled │ │ │ ├── x.x12 │ │ │ ├── x.x12.folded │ │ │ └── x.x12.styled │ │ └── yaml │ │ │ ├── SciTE.properties │ │ │ ├── longline.yaml │ │ │ ├── longline.yaml.folded │ │ │ ├── longline.yaml.styled │ │ │ ├── x.yaml │ │ │ ├── x.yaml.folded │ │ │ └── x.yaml.styled │ ├── makefile │ ├── testlexers.mak │ └── unit │ │ ├── LICENSE_1_0.txt │ │ ├── README │ │ ├── Sci.natvis │ │ ├── SciTE.properties │ │ ├── UnitTester.cxx │ │ ├── UnitTester.vcxproj │ │ ├── catch.hpp │ │ ├── makefile │ │ ├── test.mak │ │ ├── testCharacterSet.cxx │ │ ├── testLexerSimple.cxx │ │ ├── testOptionSet.cxx │ │ ├── testPropSetSimple.cxx │ │ ├── testSparseState.cxx │ │ ├── testWordList.cxx │ │ └── unitTest.cxx ├── tgzsrc ├── version.txt └── zipsrc.bat └── scintilla ├── .editorconfig ├── .hg_archival.txt ├── .hgeol ├── .hgignore ├── .hgtags ├── CONTRIBUTING ├── License.txt ├── README ├── call └── ScintillaCall.cxx ├── cocoa ├── InfoBar.h ├── InfoBar.mm ├── InfoBarCommunicator.h ├── PlatCocoa.h ├── PlatCocoa.mm ├── QuartzTextLayout.h ├── QuartzTextStyle.h ├── QuartzTextStyleAttribute.h ├── Scintilla │ ├── Info.plist │ ├── Scintilla.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── module.modulemap ├── ScintillaCocoa.h ├── ScintillaCocoa.mm ├── ScintillaTest │ ├── AppController.h │ ├── AppController.mm │ ├── Info.plist │ ├── Scintilla-Info.plist │ ├── ScintillaTest.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── TestData.sql │ ├── en.lproj │ │ ├── InfoPlist.strings │ │ └── MainMenu.xib │ └── main.m ├── ScintillaView.h ├── ScintillaView.mm ├── checkbuildosx.sh └── res │ ├── info_bar_bg.png │ ├── info_bar_bg@2x.png │ ├── mac_cursor_busy.png │ ├── mac_cursor_busy@2x.png │ ├── mac_cursor_flipped.png │ └── mac_cursor_flipped@2x.png ├── cppcheck.suppress ├── delbin.bat ├── doc ├── AddSource.txt ├── ChangeHistory.png ├── Design.html ├── Icons.html ├── Indicators.png ├── Lexer.txt ├── Markers.png ├── Privacy.html ├── SciBreak.jpg ├── SciCoding.html ├── SciRest.jpg ├── SciTEIco.png ├── SciWord.jpg ├── Scintilla5Migration.html ├── ScintillaDoc.html ├── ScintillaDownload.html ├── ScintillaHistory.html ├── ScintillaLogo.png ├── ScintillaLogo2x.png ├── ScintillaRelated.html ├── ScintillaToDo.html ├── ScintillaUsage.html ├── StadiumVariants.png ├── Steps.html ├── StyleMetadata.html ├── annotations.png ├── eolannotation.png ├── index.html └── styledmargin.png ├── gtk ├── Converter.h ├── DepGen.py ├── PlatGTK.cxx ├── ScintillaGTK.cxx ├── ScintillaGTK.h ├── ScintillaGTKAccessible.cxx ├── ScintillaGTKAccessible.h ├── Wrappers.h ├── deps.mak ├── makefile ├── scintilla-marshal.c ├── scintilla-marshal.h └── scintilla-marshal.list ├── include ├── ILexer.h ├── ILoader.h ├── Sci_Position.h ├── Scintilla.h ├── Scintilla.iface ├── ScintillaCall.h ├── ScintillaMessages.h ├── ScintillaStructures.h ├── ScintillaTypes.h └── ScintillaWidget.h ├── qt ├── README ├── ScintillaEdit │ ├── ScintillaDocument.cpp │ ├── ScintillaDocument.h │ ├── ScintillaEdit.cpp.template │ ├── ScintillaEdit.h.template │ ├── ScintillaEdit.pro │ └── WidgetGen.py └── ScintillaEditBase │ ├── Notes.txt │ ├── PlatQt.cpp │ ├── PlatQt.h │ ├── ScintillaEditBase.cpp │ ├── ScintillaEditBase.h │ ├── ScintillaEditBase.pro │ ├── ScintillaQt.cpp │ └── ScintillaQt.h ├── scripts ├── CheckMentioned.py ├── Dependencies.py ├── Face.py ├── FileGenerator.py ├── GenerateCaseConvert.py ├── GenerateCharacterCategory.py ├── HFacer.py ├── HeaderCheck.py ├── HeaderOrder.txt ├── LexGen.py ├── ScintillaAPIFacer.py ├── ScintillaData.py ├── __init__.py └── archive.sh ├── src ├── AutoComplete.cxx ├── AutoComplete.h ├── CallTip.cxx ├── CallTip.h ├── CaseConvert.cxx ├── CaseConvert.h ├── CaseFolder.cxx ├── CaseFolder.h ├── CellBuffer.cxx ├── CellBuffer.h ├── ChangeHistory.cxx ├── ChangeHistory.h ├── CharClassify.cxx ├── CharClassify.h ├── CharacterCategoryMap.cxx ├── CharacterCategoryMap.h ├── CharacterType.cxx ├── CharacterType.h ├── ContractionState.cxx ├── ContractionState.h ├── DBCS.cxx ├── DBCS.h ├── Debugging.h ├── Decoration.cxx ├── Decoration.h ├── Document.cxx ├── Document.h ├── EditModel.cxx ├── EditModel.h ├── EditView.cxx ├── EditView.h ├── Editor.cxx ├── Editor.h ├── ElapsedPeriod.h ├── Geometry.cxx ├── Geometry.h ├── Indicator.cxx ├── Indicator.h ├── KeyMap.cxx ├── KeyMap.h ├── LineMarker.cxx ├── LineMarker.h ├── MarginView.cxx ├── MarginView.h ├── Partitioning.h ├── PerLine.cxx ├── PerLine.h ├── Platform.h ├── Position.h ├── PositionCache.cxx ├── PositionCache.h ├── RESearch.cxx ├── RESearch.h ├── RunStyles.cxx ├── RunStyles.h ├── SciTE.properties ├── ScintillaBase.cxx ├── ScintillaBase.h ├── Selection.cxx ├── Selection.h ├── SparseVector.h ├── SplitVector.h ├── Style.cxx ├── Style.h ├── UniConversion.cxx ├── UniConversion.h ├── UniqueString.cxx ├── UniqueString.h ├── ViewStyle.cxx ├── ViewStyle.h ├── XPM.cxx └── XPM.h ├── test ├── MessageNumbers.py ├── README ├── ScintillaCallable.py ├── XiteMenu.py ├── XiteWin.py ├── gi │ ├── Scintilla-0.1.gir.good │ ├── filter-scintilla-h.py │ ├── gi-test.py │ └── makefile ├── performanceTests.py ├── simpleTests.py ├── unit │ ├── LICENSE_1_0.txt │ ├── README │ ├── Sci.natvis │ ├── SciTE.properties │ ├── UnitTester.cxx │ ├── UnitTester.vcxproj │ ├── catch.hpp │ ├── makefile │ ├── test.mak │ ├── testCellBuffer.cxx │ ├── testCharClassify.cxx │ ├── testCharacterCategoryMap.cxx │ ├── testContractionState.cxx │ ├── testDecoration.cxx │ ├── testDocument.cxx │ ├── testGeometry.cxx │ ├── testPartitioning.cxx │ ├── testPerLine.cxx │ ├── testRESearch.cxx │ ├── testRunStyles.cxx │ ├── testSparseVector.cxx │ ├── testSplitVector.cxx │ ├── testUniConversion.cxx │ └── unitTest.cxx ├── win32Tests.py └── xite.py ├── tgzsrc ├── version.txt ├── win32 ├── DepGen.py ├── HanjaDic.cxx ├── HanjaDic.h ├── PlatWin.cxx ├── PlatWin.h ├── SciTE.properties ├── ScintRes.rc ├── Scintilla.def ├── Scintilla.vcxproj ├── Scintilla.vcxproj.user ├── ScintillaDLL.cxx ├── ScintillaWin.cxx ├── ScintillaWin.h ├── WinTypes.h ├── deps.mak ├── makefile ├── nmdeps.mak └── scintilla.mak └── zipsrc.bat /Connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/Connect.png -------------------------------------------------------------------------------- /Generated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/Generated.png -------------------------------------------------------------------------------- /KDbgEngExt/KDbgEngExt.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void __cdecl 4 | dprintf(PCSTR Format, ...); -------------------------------------------------------------------------------- /KDbgEngExt/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "server": "0.0.0.0", 3 | "server_port": "9000", 4 | "timeout": 300 5 | } -------------------------------------------------------------------------------- /KDbgEngExt/crypto.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "common.h" 3 | 4 | int balloc(buffer_t*, size_t); 5 | void bfree(buffer_t* ptr); 6 | int bprepend(buffer_t*, buffer_t*, size_t); 7 | int brealloc(buffer_t*, size_t, size_t); -------------------------------------------------------------------------------- /KDbgEngExt/dllmain.cpp: -------------------------------------------------------------------------------- 1 | // dllmain.cpp : Defines the entry point for the DLL application. 2 | #include "pch.h" 3 | 4 | BOOL APIENTRY DllMain( HMODULE hModule, 5 | DWORD ul_reason_for_call, 6 | LPVOID lpReserved 7 | ) 8 | { 9 | switch (ul_reason_for_call) 10 | { 11 | case DLL_PROCESS_ATTACH: 12 | case DLL_THREAD_ATTACH: 13 | case DLL_THREAD_DETACH: 14 | case DLL_PROCESS_DETACH: 15 | break; 16 | } 17 | return TRUE; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /KDbgEngExt/framework.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 4 | // Windows Header Files 5 | #include 6 | -------------------------------------------------------------------------------- /KDbgEngExt/jconf.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "netutils.h" 4 | 5 | #define MIN_TCP_IDLE_TIMEOUT (24 * 3600) -------------------------------------------------------------------------------- /KDbgEngExt/netutils.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" -------------------------------------------------------------------------------- /KDbgEngExt/netutils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "winsock.h" 3 | 4 | #define SOCKET_BUF_SIZE (16 * 1024 - 1) // 16383 Byte, equals to the max chunk size 5 | 6 | // Be compatible with older libc. 7 | #ifndef IPPROTO_MPTCP 8 | #define IPPROTO_MPTCP 262 9 | #endif -------------------------------------------------------------------------------- /KDbgEngExt/pch.cpp: -------------------------------------------------------------------------------- 1 | // pch.cpp: source file corresponding to the pre-compiled header 2 | 3 | #include "pch.h" 4 | 5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed. 6 | -------------------------------------------------------------------------------- /KDbgEngExt/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by KDbgEngExt.rc 4 | 5 | // Next default values for new objects 6 | // 7 | #ifdef APSTUDIO_INVOKED 8 | #ifndef APSTUDIO_READONLY_SYMBOLS 9 | #define _APS_NEXT_RESOURCE_VALUE 101 10 | #define _APS_NEXT_COMMAND_VALUE 40001 11 | #define _APS_NEXT_CONTROL_VALUE 1001 12 | #define _APS_NEXT_SYMED_VALUE 101 13 | #endif 14 | #endif 15 | -------------------------------------------------------------------------------- /KDbgEngExt/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KDbgEngExt/server.cpp -------------------------------------------------------------------------------- /KDbgEngExt/utils.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "utils.h" 3 | 4 | int ss_is_ipv6addr(const char* addr) { 5 | return strcmp(addr, ":") > 0; 6 | } 7 | 8 | void* ss_malloc(size_t size) { 9 | void* tmp = malloc(size); 10 | return tmp; 11 | } 12 | 13 | void* ss_realloc(void* ptr, size_t new_size) { 14 | void* new_buf = realloc(ptr, new_size); 15 | if (new_buf == NULL) { 16 | free(ptr); 17 | ptr = NULL; 18 | } 19 | return new_buf; 20 | } -------------------------------------------------------------------------------- /KDbgEngExt/utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | int ss_is_ipv6addr(const char* addr); 4 | void* ss_malloc(size_t size); 5 | void* ss_realloc(void* ptr, size_t new_size); 6 | 7 | #define ss_free(ptr) \ 8 | { \ 9 | free(ptr); \ 10 | ptr = NULL; \ 11 | } 12 | -------------------------------------------------------------------------------- /KDbgEngExt/winsock.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "winsock.h" 3 | 4 | int setnonblocking(int fd) { 5 | u_long arg = 1; 6 | 7 | return ioctlsocket(fd, FIONBIO, &arg); 8 | } 9 | 10 | void winsock_init(void) { 11 | int ret; 12 | WSADATA wsa_data; 13 | ret = WSAStartup(MAKEWORD(2, 2), &wsa_data); 14 | if (ret != 0) { 15 | 16 | } 17 | } 18 | 19 | void winsock_cleanup(void) { 20 | WSACleanup(); 21 | } -------------------------------------------------------------------------------- /KDbgEngExt/winsock.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef CONNECT_IN_PROGRESS 4 | #undef CONNECT_IN_PROGRESS 5 | #endif 6 | #define CONNECT_IN_PROGRESS WSAEWOULDBLOCK 7 | 8 | // Override close function 9 | #define close(fd) closesocket(fd) 10 | 11 | int setnonblocking(int fd); 12 | 13 | void winsock_init(void); 14 | 15 | void winsock_cleanup(void); -------------------------------------------------------------------------------- /KReClassEx/AboutDlg.cpp: -------------------------------------------------------------------------------- 1 | // aboutdlg.cpp : implementation of the CAboutDlg class 2 | // 3 | ///////////////////////////////////////////////////////////////////////////// 4 | 5 | #include "stdafx.h" 6 | #include "resource.h" 7 | 8 | #include "aboutdlg.h" 9 | 10 | LRESULT CAboutDlg::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) 11 | { 12 | CenterWindow(GetParent()); 13 | return TRUE; 14 | } 15 | 16 | LRESULT CAboutDlg::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) 17 | { 18 | EndDialog(wID); 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /KReClassEx/ClassView.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/ClassView.h -------------------------------------------------------------------------------- /KReClassEx/ClassesDlg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/ClassesDlg.h -------------------------------------------------------------------------------- /KReClassEx/CustomEdit.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "HotSpot.h" 3 | 4 | class CClassView; 5 | class CCustomEdit : public CWindowImpl { 6 | public: 7 | 8 | void OnChar(TCHAR chChar, UINT nRepCnt, UINT nFlags); 9 | HBRUSH OnCtlColorEdit(CDCHandle dc, CEdit edit); 10 | 11 | void SetClassView(CClassView* pView) { 12 | m_pClassView = pView; 13 | } 14 | 15 | BEGIN_MSG_MAP_EX(CCustomEdit) 16 | MSG_WM_CHAR(OnChar) 17 | MSG_WM_CTLCOLOREDIT(OnCtlColorEdit) 18 | REFLECTED_COMMAND_CODE_HANDLER(EN_CHANGE,OnTextChanged) // This is important. 19 | DEFAULT_REFLECTION_HANDLER() 20 | END_MSG_MAP() 21 | 22 | LRESULT OnTextChanged(WORD /*wNotifyCode*/, WORD, HWND /*hWndCtl*/, BOOL& /*bHandled*/); 23 | 24 | public: 25 | HOTSPOT m_Hotspot; 26 | LONG m_MinWidth; 27 | HBRUSH m_hBackBrush; 28 | CClassView* m_pClassView; 29 | }; -------------------------------------------------------------------------------- /KReClassEx/CustomToolTip.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CustomToolTip.h" 3 | 4 | HBRUSH CCustomToolTip::OnCtlColorEdit(CDCHandle dc, CEdit edit) { 5 | 6 | return m_hBackBrush; 7 | } 8 | -------------------------------------------------------------------------------- /KReClassEx/CustomToolTip.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CCustomToolTip : public CWindowImpl { 4 | public: 5 | 6 | 7 | HBRUSH OnCtlColorEdit(CDCHandle dc, CEdit edit); 8 | 9 | BEGIN_MSG_MAP_EX(CCustomToolTip) 10 | MSG_WM_CTLCOLOREDIT(OnCtlColorEdit) 11 | END_MSG_MAP() 12 | 13 | 14 | 15 | private: 16 | HBRUSH m_hBackBrush; 17 | }; -------------------------------------------------------------------------------- /KReClassEx/HotSpot.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define NONE -1 4 | 5 | #define HS_NONE -1 6 | #define HS_EDIT 0 7 | #define HS_OPENCLOSE 1 8 | #define HS_SELECT 2 9 | #define HS_DROP 3 10 | #define HS_CLICK 4 11 | #define HS_CHANGE_A 5 12 | #define HS_CHANGE_X 6 13 | #define HS_DELETE 7 14 | #define HS_RTTI 8 15 | #define HS_SCINTILLA_EDIT 9 16 | 17 | #define HS_ADDRESS 68 18 | #define HS_NAME 69 19 | #define HS_COMMENT 70 20 | 21 | typedef struct tagHOSTPOT { 22 | CRect Rect; 23 | CString Text; 24 | ULONG_PTR Address; 25 | INT Id; 26 | INT Type; 27 | UINT Level; 28 | class CNodeBase* Object; 29 | class CClassView* View; 30 | }HOTSPOT, * PHOTSPOT; -------------------------------------------------------------------------------- /KReClassEx/Interfaces.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeClass.h" 3 | 4 | struct IMainFrame abstract { 5 | virtual void CalcAllOffsets() = 0; 6 | virtual void CalcOffsets(CNodeClass* pClass) = 0; 7 | virtual void ClearHidden() = 0; 8 | virtual bool IsNodeValid(CNodeBase* pCheckNode) = 0; 9 | virtual CNodeBase* CreateNewNode(NodeType type) = 0; 10 | virtual void SwitchPage(size_t id) = 0; 11 | 12 | std::vector m_Classes; 13 | CTabView m_view; 14 | }; -------------------------------------------------------------------------------- /KReClassEx/KReClassEx.h: -------------------------------------------------------------------------------- 1 | // KReClassEx.h 2 | -------------------------------------------------------------------------------- /KReClassEx/Memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/Memory.h -------------------------------------------------------------------------------- /KReClassEx/NodeArray.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeArray : public CNodeBase { 6 | public: 7 | CNodeArray(); 8 | 9 | virtual void Update(const PHOTSPOT pSpot); 10 | 11 | virtual ULONG GetMemorySize(); 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO pView, int x, int y); 14 | 15 | inline void SetTotal(ULONG total) { m_Total = total; } 16 | inline ULONG GetTotal(void) { return m_Total; } 17 | 18 | inline void SetClass(CNodeClass* pNode) { m_pNode = pNode; } 19 | inline CNodeClass* GetClass(void) { return m_pNode; } 20 | 21 | protected: 22 | CNodeClass* m_pNode; 23 | ULONG m_Total; 24 | INT m_Current; 25 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeBase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/NodeBase.cpp -------------------------------------------------------------------------------- /KReClassEx/NodeBase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/NodeBase.h -------------------------------------------------------------------------------- /KReClassEx/NodeBits.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeBits :public CNodeBase { 6 | public: 7 | CNodeBits() { 8 | m_NodeType = NodeType::Bits; 9 | } 10 | 11 | virtual void Update(const PHOTSPOT spot); 12 | 13 | virtual ULONG GetMemorySize() { 14 | return 1; 15 | } 16 | 17 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 18 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeByte.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | 4 | class CNodeByte : public CNodeBase { 5 | public: 6 | CNodeByte(); 7 | 8 | virtual void Update(const PHOTSPOT pSpot); 9 | 10 | virtual ULONG GetMemorySize() { return sizeof(unsigned __int8); } 11 | 12 | virtual NODESIZE Draw(const PVIEWINFO pView, int x, int y); 13 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeCharPtr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | #include "Memory.h" 5 | 6 | class CNodeCharPtr : public CNodeBase { 7 | public: 8 | CNodeCharPtr(); 9 | 10 | virtual void Update(const PHOTSPOT spot); 11 | 12 | virtual ULONG GetMemorySize() { return sizeof(void*); } 13 | 14 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 15 | 16 | CStringA ReadMemoryStringA(ULONG_PTR address, SIZE_T max = 40); 17 | 18 | public: 19 | CNodeBase* m_pNode; 20 | Memory m_Memory; 21 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeClass.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | 4 | class CNodeClass : public CNodeBase { 5 | public: 6 | CNodeClass(); 7 | 8 | virtual void Update(const PHOTSPOT spot); 9 | 10 | virtual ULONG GetMemorySize(); 11 | 12 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 13 | 14 | void SetCode(WCHAR* code) { m_Code = code; } 15 | 16 | ULONG_PTR ConvertStrToAddress(CString str); 17 | 18 | size_t m_Idx; 19 | size_t m_RequestPosition; 20 | CString m_Code; 21 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeClassInstance.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CNodeClassInstance : public CNodeBase { 4 | public: 5 | CNodeClassInstance(); 6 | 7 | virtual void Update(const PHOTSPOT spot); 8 | 9 | virtual ULONG GetMemorySize(); 10 | 11 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 12 | 13 | inline void SetClass(CNodeClass* pNode) { m_pNode = pNode; } 14 | inline CNodeClass* GetClass(void) { return m_pNode; } 15 | 16 | private: 17 | CNodeClass* m_pNode; 18 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeCustom.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeCustom : public CNodeBase { 6 | public: 7 | CNodeCustom(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize(); 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | 15 | inline void SetSize(ULONG size) { m_MemorySize = size; } 16 | inline ULONG GetSize(void) { return m_MemorySize; } 17 | 18 | private: 19 | ULONG m_MemorySize; 20 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeDWORD.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | 4 | class CNodeDword : public CNodeBase { 5 | public: 6 | CNodeDword(); 7 | 8 | virtual void Update(const PHOTSPOT spot); 9 | 10 | virtual ULONG GetMemorySize() { return sizeof(DWORD); } 11 | 12 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 13 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeDouble.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeDouble : public CNodeBase { 6 | public: 7 | CNodeDouble(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize(void) { return sizeof(double); } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeFloat.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeFloat : public CNodeBase { 6 | public: 7 | CNodeFloat(); 8 | 9 | virtual void Update(const PHOTSPOT Spot); 10 | 11 | virtual ULONG GetMemorySize() { return sizeof(float); } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO View, int x, int y); 14 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeFunction.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | #include "ClassView.h" 5 | 6 | class CNodeFunction :public CNodeBase { 7 | public: 8 | CNodeFunction(); 9 | ~CNodeFunction(); 10 | 11 | virtual void Update(const PHOTSPOT spot); 12 | 13 | virtual ULONG GetMemorySize() { return m_MemorySize; } 14 | 15 | virtual NODESIZE Draw(const PVIEWINFO pView, int x, int y); 16 | 17 | inline void SetSize(ULONG Size) { m_MemorySize = Size; } 18 | 19 | void Initialize(CWindow* pParentWindow, ULONG_PTR Address); 20 | 21 | private: 22 | DWORD m_MemorySize; 23 | std::vector m_Assembly; 24 | 25 | private: 26 | 27 | ULONG m_Lines{ 0 }; 28 | ULONG m_LongestLine{ 0 }; 29 | 30 | int m_Width{ 0 }; 31 | int m_Height{ 0 }; 32 | 33 | BOOLEAN m_bRedrawNeeded{ FALSE }; 34 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeFunctionPtr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeFunctionPtr : public CNodeBase { 6 | public: 7 | CNodeFunctionPtr(); 8 | CNodeFunctionPtr(CWindow* pParentWindow, ULONG_PTR address,ULONG_PTR value); 9 | 10 | virtual void Update(const PHOTSPOT pSpot); 11 | 12 | virtual ULONG GetMemorySize() { return sizeof(void*); } 13 | 14 | virtual NODESIZE Draw(const PVIEWINFO pView, int x, int y); 15 | 16 | 17 | inline bool IsInitialized() { 18 | return false; 19 | } 20 | 21 | void Initialize(CWindow* pParentWindow, ULONG_PTR Address,ULONG_PTR value); 22 | 23 | inline void HideAssemblyWindow() { 24 | 25 | } 26 | 27 | private: 28 | 29 | CWindow* m_pParentWindow{nullptr}; 30 | 31 | ULONG m_Lines{ 0 }; 32 | ULONG m_LongestLine{ 0 }; 33 | 34 | int m_Width{ 0 }; 35 | int m_Height{ 0 }; 36 | 37 | BOOLEAN m_bRedrawNeeded{ FALSE }; 38 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeHex16.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | 4 | class CNodeHex16 :public CNodeBase { 5 | public: 6 | CNodeHex16() { 7 | m_NodeType = NodeType::Hex16; 8 | } 9 | 10 | virtual void Update(const PHOTSPOT spot); 11 | 12 | virtual ULONG GetMemorySize() { return sizeof(__int16); } 13 | 14 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 15 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeHex32.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | class CNodeHex32 : 4 | public CNodeBase 5 | { 6 | public: 7 | CNodeHex32() { 8 | m_NodeType = NodeType::Hex32; 9 | } 10 | 11 | virtual void Update(const PHOTSPOT spot); 12 | 13 | virtual ULONG GetMemorySize() { return sizeof(__int32); } 14 | 15 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /KReClassEx/NodeHex64.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | 4 | class CNodeHex64 : 5 | public CNodeBase 6 | { 7 | public: 8 | CNodeHex64() { 9 | m_NodeType = NodeType::Hex64; 10 | } 11 | 12 | virtual void Update(const PHOTSPOT spot); 13 | virtual ULONG GetMemorySize() { 14 | return sizeof(__int64); 15 | } 16 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 17 | }; 18 | 19 | -------------------------------------------------------------------------------- /KReClassEx/NodeHex8.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | class CNodeHex8 : 4 | public CNodeBase 5 | { 6 | public: 7 | CNodeHex8() { 8 | m_NodeType = NodeType::Hex8; 9 | } 10 | 11 | virtual void Update(const PHOTSPOT spot); 12 | 13 | virtual ULONG GetMemorySize() { return sizeof(__int8); } 14 | 15 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /KReClassEx/NodeInt16.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeInt16 : public CNodeBase { 6 | public: 7 | CNodeInt16(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize() { return sizeof(__int16); } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeInt32.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeInt32 :public CNodeBase { 6 | public: 7 | CNodeInt32() { 8 | m_NodeType = NodeType::Int32; 9 | } 10 | 11 | virtual void Update(const PHOTSPOT spot); 12 | 13 | virtual ULONG GetMemorySize() { return sizeof(__int32); } 14 | 15 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 16 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeInt64.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeInt64 :public CNodeBase { 6 | public: 7 | CNodeInt64(){ 8 | m_NodeType = NodeType::Int64; 9 | } 10 | 11 | virtual void Update(const PHOTSPOT spot); 12 | 13 | virtual ULONG GetMemorySize() { return sizeof(__int64); } 14 | 15 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 16 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeInt8.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeInt8 :public CNodeBase { 6 | public: 7 | CNodeInt8(); 8 | 9 | 10 | virtual void Update(const PHOTSPOT spot); 11 | 12 | virtual ULONG GetMemorySize() { return sizeof(__int8); } 13 | 14 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 15 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeListEntry.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | 4 | class CNodeListEntry : public CNodeBase { 5 | public: 6 | CNodeListEntry(); 7 | 8 | virtual void Update(const PHOTSPOT spot); 9 | virtual ULONG GetMemorySize() { 10 | return sizeof(LIST_ENTRY); 11 | } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeMatrix.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeMatrix : public CNodeBase { 6 | public: 7 | CNodeMatrix(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize() { return 4 * 4 * sizeof(float); } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | }; -------------------------------------------------------------------------------- /KReClassEx/NodePtr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | #include "Memory.h" 5 | 6 | class CNodePtr :public CNodeBase { 7 | public: 8 | CNodePtr(); 9 | 10 | virtual void Update(const PHOTSPOT spot); 11 | 12 | virtual ULONG GetMemorySize() { return sizeof(void*); } 13 | 14 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 15 | 16 | inline void SetClass(CNodeClass* pClassNode) { m_pClassNode = pClassNode; } 17 | inline CNodeClass* GetClass(void) { return m_pClassNode; } 18 | 19 | inline Memory* GetMemory() { return &m_Memory; } 20 | 21 | private: 22 | CNodeClass* m_pClassNode{ nullptr }; 23 | Memory m_Memory; 24 | }; -------------------------------------------------------------------------------- /KReClassEx/NodePtrArray.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | #include "NodePtr.h" 5 | 6 | class CNodePtrArray :public CNodeBase { 7 | public: 8 | CNodePtrArray(); 9 | 10 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 11 | 12 | virtual ULONG GetMemorySize(); 13 | 14 | virtual void Update(const PHOTSPOT Spot); 15 | 16 | inline ULONG Count(void) { return m_PtrCount; } 17 | inline void SetCount(ULONG Count) { m_PtrCount = Count; } 18 | 19 | void SetClass(CNodeClass* pNode) { m_pNodePtr->SetClass(pNode); } 20 | CNodeClass* GetClass(void) { return m_pNodePtr->GetClass(); } 21 | 22 | protected: 23 | CNodePtr* m_pNodePtr; 24 | ULONG m_PtrCount{ 1 }; 25 | INT m_CurrentIndex{ 0 }; 26 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeQWORD.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeQword : public CNodeBase { 6 | public: 7 | CNodeQword(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize() { return sizeof(UINT64); } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeQuat.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeQuat : public CNodeBase { 6 | public: 7 | CNodeQuat(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize() { return sizeof(float) * 4; } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeText.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeText :public CNodeBase { 6 | public: 7 | CNodeText(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize() { return m_MemorySize; } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | 15 | inline void SetSize(DWORD size) { m_MemorySize = size; } 16 | inline DWORD GetSize(void) { return m_MemorySize; } 17 | 18 | private: 19 | DWORD m_MemorySize; 20 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeType.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "NodeTypes.h" 3 | 4 | const WCHAR* NodeTypeToString(NodeType type) { 5 | return s_NodeTypes[static_cast(type)]; 6 | } 7 | 8 | bool IsHexType(NodeType type) { 9 | if (type == NodeType::Hex64 || 10 | type == NodeType::Hex32 || 11 | type == NodeType::Hex16 || 12 | type == NodeType::Hex8 || 13 | type == NodeType::Bits) { 14 | return true; 15 | } 16 | return false; 17 | } -------------------------------------------------------------------------------- /KReClassEx/NodeTypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/NodeTypes.h -------------------------------------------------------------------------------- /KReClassEx/NodeUnicode.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeUnicode : public CNodeBase { 6 | public: 7 | CNodeUnicode(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize(void) { return m_MemorySize; } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | 15 | inline void SetSize(ULONG Size) { m_MemorySize = Size; } 16 | inline ULONG GetSize(void) { return m_MemorySize; } 17 | 18 | private: 19 | ULONG m_MemorySize; 20 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeVTable.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "NodeBase.h" 3 | #include "Memory.h" 4 | 5 | class CNodeVTable :public CNodeBase { 6 | public: 7 | 8 | CNodeVTable() { 9 | m_NodeType = NodeType::VTable; 10 | } 11 | CNodeVTable(CWindow* pParentWindow) :m_pParentWindow(pParentWindow) { 12 | } 13 | 14 | virtual void Update(const PHOTSPOT spot); 15 | 16 | virtual ULONG GetMemorySize() { return sizeof(void*); } 17 | 18 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 19 | 20 | inline bool IsInitialized() { return m_pParentWindow != nullptr; } 21 | 22 | void Initialize(CWindow* pParentWindow); 23 | 24 | private: 25 | Memory m_Memory; 26 | 27 | CWindow* m_pParentWindow{ nullptr }; 28 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeVec2.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeVec2 :public CNodeBase { 6 | public: 7 | CNodeVec2(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | virtual ULONG GetMemorySize() { 11 | return sizeof(float) * 2; 12 | } 13 | 14 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 15 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeVec3.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeVec3 :public CNodeBase { 6 | public: 7 | CNodeVec3(); 8 | 9 | virtual void Update(const PHOTSPOT spot); 10 | 11 | virtual ULONG GetMemorySize() { return sizeof(float) * 3; } 12 | 13 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 14 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeWCharPtr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | #include "Memory.h" 5 | 6 | class CNodeWCharPtr :public CNodeBase { 7 | public: 8 | CNodeWCharPtr() { 9 | m_NodeType = NodeType::PWChar; 10 | m_Name = "PWCHAR"; 11 | } 12 | 13 | virtual void Update(const PHOTSPOT spot); 14 | 15 | virtual ULONG GetMemorySize() { return sizeof(void*); } 16 | 17 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 18 | 19 | CStringW ReadMemoryStringW(ULONG_PTR address, SIZE_T max); 20 | 21 | public: 22 | CNodeBase* m_pNode; 23 | Memory m_Memory; 24 | }; -------------------------------------------------------------------------------- /KReClassEx/NodeWORD.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "NodeBase.h" 4 | 5 | class CNodeWord :public CNodeBase { 6 | public: 7 | CNodeWord() { 8 | m_NodeType = NodeType::UINT16; 9 | } 10 | 11 | virtual void Update(const PHOTSPOT spot); 12 | 13 | virtual ULONG GetMemorySize() { 14 | return sizeof(WORD); 15 | } 16 | 17 | virtual NODESIZE Draw(const PVIEWINFO view, int x, int y); 18 | }; -------------------------------------------------------------------------------- /KReClassEx/Ribbon.bml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/Ribbon.bml -------------------------------------------------------------------------------- /KReClassEx/ScintillaCtrl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/ScintillaCtrl.h -------------------------------------------------------------------------------- /KReClassEx/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "server": "0.0.0.0", 3 | "server_port": "9000", 4 | "timeout": 300 5 | } -------------------------------------------------------------------------------- /KReClassEx/crypto.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "stdafx.h" 3 | 4 | int balloc(buffer_t*, size_t); 5 | void bfree(buffer_t* ptr); 6 | int bprepend(buffer_t*, buffer_t*, size_t); 7 | int brealloc(buffer_t*, size_t, size_t); -------------------------------------------------------------------------------- /KReClassEx/jconf.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MAX_CONNECT_TIMEOUT 10 -------------------------------------------------------------------------------- /KReClassEx/local.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/local.cpp -------------------------------------------------------------------------------- /KReClassEx/local.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/local.h -------------------------------------------------------------------------------- /KReClassEx/netutils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define SOCKET_BUF_SIZE (16 * 1024 - 1) // 16383 Byte, equals to the max chunk size 4 | 5 | size_t get_sockaddr_len(struct sockaddr* addr); 6 | -------------------------------------------------------------------------------- /KReClassEx/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /KReClassEx/res/KReClassEx.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/KReClassEx.ico -------------------------------------------------------------------------------- /KReClassEx/res/Undo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/Undo.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_class.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_class.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_console.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_console.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_edit.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_edit.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_generate.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_generate.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_modules.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_modules.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_notes.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_notes.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_reset.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_reset.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_search.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_search.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_large_select.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_large_select.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_small_clean_up.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_small_clean_up.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_small_code.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_small_code.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_small_delete.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_small_delete.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_small_footer.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_small_footer.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_small_header.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_small_header.bmp -------------------------------------------------------------------------------- /KReClassEx/res/home_small_typedef.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/home_small_typedef.bmp -------------------------------------------------------------------------------- /KReClassEx/res/icons/add.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/add.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/array.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/array.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/arrow_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/arrow_icon.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/camera.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/camera.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/close.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/close.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/closed.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/closed.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/custom.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/custom.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/enum.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/enum.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/exchange.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/exchange.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/float.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/float.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/general_class_VS.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/general_class_VS.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/general_interface_VS.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/general_interface_VS.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/general_method_VS.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/general_method_VS.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/left.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/left.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/list_entry.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/list_entry.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/matrix.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/matrix.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/open.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/open.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/pointer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/pointer.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/right.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/right.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/signed.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/signed.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/speles_random_ico.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/speles_random_ico.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/text.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/text.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/unsigned.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/unsigned.ico -------------------------------------------------------------------------------- /KReClassEx/res/icons/vector.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/icons/vector.ico -------------------------------------------------------------------------------- /KReClassEx/res/toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_add.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_add.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_add1024.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_add1024.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_add2048.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_add2048.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_add64.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_add64.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_add8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_add8.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_array.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_array.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_ascii.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_ascii.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_bits.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_bits.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_byte.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_byte.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_class.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_class.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_custom.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_custom.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_delete.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_delete.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_double.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_double.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_dword.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_dword.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_float.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_float.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_function.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_function.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_function_ptr.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_function_ptr.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_hex16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_hex16.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_hex32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_hex32.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_hex64.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_hex64.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_hex8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_hex8.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_hide.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_hide.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_insert.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_insert.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_insert1024.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_insert1024.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_insert2048.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_insert2048.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_insert64.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_insert64.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_insert8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_insert8.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_int16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_int16.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_int32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_int32.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_int64.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_int64.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_int8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_int8.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_list_entry.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_list_entry.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_matrix.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_matrix.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_parray.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_parray.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_pchar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_pchar.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_pointer.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_pointer.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_pwchar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_pwchar.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_qword.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_qword.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_show.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_show.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_unicode.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_unicode.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_vec2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_vec2.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_vec3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_vec3.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_vec4.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_vec4.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_vtable.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_vtable.bmp -------------------------------------------------------------------------------- /KReClassEx/res/toolbar_word.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/res/toolbar_word.bmp -------------------------------------------------------------------------------- /KReClassEx/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/KReClassEx/stdafx.cpp -------------------------------------------------------------------------------- /KReClassEx/utils.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "utils.h" 3 | 4 | void* ss_malloc(size_t size) { 5 | void* tmp = malloc(size); 6 | if (tmp == NULL) { 7 | 8 | } 9 | return tmp; 10 | } 11 | 12 | void* ss_realloc(void* ptr, size_t new_size) { 13 | void* new_buf = realloc(ptr, new_size); 14 | if (new_buf == NULL) { 15 | free(ptr); 16 | ptr = NULL; 17 | } 18 | return new_buf; 19 | } -------------------------------------------------------------------------------- /KReClassEx/utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void* ss_malloc(size_t size); 4 | void* ss_realloc(void* ptr, size_t new_size); 5 | 6 | #define ss_free(ptr) \ 7 | { \ 8 | free(ptr); \ 9 | ptr = NULL; \ 10 | } -------------------------------------------------------------------------------- /KReClassEx/winsock.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "winsock.h" 3 | 4 | int setnonblocking(int fd) { 5 | u_long arg = 1; 6 | 7 | return ioctlsocket(fd, FIONBIO, &arg); 8 | } 9 | 10 | void winsock_init(void) { 11 | int ret; 12 | WSADATA wsa_data; 13 | ret = WSAStartup(MAKEWORD(2, 2), &wsa_data); 14 | if (ret != 0) { 15 | 16 | } 17 | } 18 | 19 | void winsock_cleanup(void) { 20 | WSACleanup(); 21 | } -------------------------------------------------------------------------------- /KReClassEx/winsock.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef CONNECT_IN_PROGRESS 4 | #undef CONNECT_IN_PROGRESS 5 | #endif 6 | #define CONNECT_IN_PROGRESS WSAEWOULDBLOCK 7 | 8 | // Override close function 9 | #define close(fd) closesocket(fd) 10 | 11 | int setnonblocking(int fd); 12 | 13 | void winsock_init(void); 14 | 15 | void winsock_cleanup(void); -------------------------------------------------------------------------------- /Main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/Main.png -------------------------------------------------------------------------------- /ida.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/ida.png -------------------------------------------------------------------------------- /lexilla/access/README: -------------------------------------------------------------------------------- 1 | README for access directory. 2 | 3 | LexillaAccess is a module that simplifies using multiple libraries that follow the Lexilla protocol. 4 | 5 | It can be compiled into a Lexilla client application. 6 | 7 | Applications with complex needs can copy the code and customise it to meet their requirements. 8 | 9 | This module is not meant to be compiled into Lexilla. 10 | -------------------------------------------------------------------------------- /lexilla/delbin.bat: -------------------------------------------------------------------------------- 1 | @del /S /Q *.a *.aps *.bsc *.dll *.dsw *.exe *.idb *.ilc *.ild *.ilf *.ilk *.ils *.lib *.map *.ncb *.obj *.o *.opt *.ipdb *.pdb *.plg *.res *.sbr *.tds *.exp *.tlog *.lastbuildstate >NUL: 2 | -------------------------------------------------------------------------------- /lexilla/doc/LexillaLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/lexilla/doc/LexillaLogo.png -------------------------------------------------------------------------------- /lexilla/doc/LexillaLogo2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/lexilla/doc/LexillaLogo2x.png -------------------------------------------------------------------------------- /lexilla/examples/CheckLexilla/makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all check clean 2 | 3 | INCLUDES = -I ../../include 4 | EXE = $(if $(windir),CheckLexilla.exe,CheckLexilla) 5 | 6 | ifdef windir 7 | RM = $(if $(wildcard $(dir $(SHELL))rm.exe), $(dir $(SHELL))rm.exe -f, del /q) 8 | CC = gcc 9 | else 10 | LIBS += -ldl 11 | endif 12 | 13 | all: $(EXE) 14 | 15 | check: $(EXE) 16 | ./$(EXE) 17 | 18 | clean: 19 | $(RM) $(EXE) 20 | 21 | $(EXE): *.c 22 | $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $^ $(LIBS) $(LDLIBS) -o $@ 23 | -------------------------------------------------------------------------------- /lexilla/scripts/PromoteNew.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem Promote new result files. 3 | rem Find all the *.new files under test\examples and copy them to their expected name without ".new". 4 | rem Run after RunTest.bat if ".new" result files are correct. 5 | pushd ..\test\examples 6 | for /R %%f in (*.new) do (call :moveFile %%f) 7 | popd 8 | goto :eof 9 | 10 | :moveFile 11 | set pathWithNew=%1 12 | set directory=%~dp1 13 | set fileWithNew=%~nx1 14 | set fileNoNew=%~n1 15 | set pathNoNew=%pathWithNew:~0,-4% 16 | 17 | if exist %pathNoNew% ( 18 | echo Move %fileWithNew% to %fileNoNew% in %directory% 19 | ) else ( 20 | echo New %fileWithNew% to %fileNoNew% in %directory% 21 | ) 22 | move %pathWithNew% %pathNoNew% 23 | goto :eof 24 | -------------------------------------------------------------------------------- /lexilla/scripts/RunTest.bat: -------------------------------------------------------------------------------- 1 | rem Test lexers 2 | rem build lexilla.dll and TestLexers.exe then run TestLexers.exe 3 | cd ../src 4 | make --jobs=4 DEBUG=1 5 | cd ../test 6 | make DEBUG=1 7 | make test 8 | -------------------------------------------------------------------------------- /lexilla/scripts/RunTest.sh: -------------------------------------------------------------------------------- 1 | # Test lexers 2 | # build lexilla.so and TestLexers then run TestLexers 3 | JOBS="--jobs=$(getconf _NPROCESSORS_ONLN)" 4 | ( 5 | cd ../src 6 | make "$JOBS" DEBUG=1 7 | ) 8 | ( 9 | cd ../test 10 | make DEBUG=1 11 | make test 12 | ) 13 | -------------------------------------------------------------------------------- /lexilla/src/Lexilla.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | GetLexerCount 3 | GetLexerName 4 | GetLexerFactory 5 | CreateLexer 6 | LexerNameFromID 7 | GetLibraryPropertyNames 8 | SetLibraryProperty 9 | GetNameSpace 10 | -------------------------------------------------------------------------------- /lexilla/src/Lexilla.pro: -------------------------------------------------------------------------------- 1 | # This Qt Creator project file is not meant for creating Lexilla libraries 2 | # but instead for easily running Clang-Tidy on lexers. 3 | 4 | QT += core 5 | 6 | TARGET = Lexilla 7 | TEMPLATE = lib 8 | CONFIG += lib_bundle 9 | CONFIG += c++1z 10 | 11 | VERSION = 5.1.3 12 | 13 | SOURCES += \ 14 | Lexilla.cxx \ 15 | $$files(../lexlib/*.cxx, false) \ 16 | $$files(../lexers/*.cxx, false) 17 | 18 | HEADERS += \ 19 | ../include/Lexilla.h \ 20 | $$files(../lexers/*.h, false) 21 | 22 | INCLUDEPATH += ../include ../lexlib ../../scintilla/include 23 | 24 | DEFINES += _CRT_SECURE_NO_DEPRECATE=1 25 | CONFIG(release, debug|release) { 26 | DEFINES += NDEBUG=1 27 | } 28 | 29 | DESTDIR = ../bin 30 | 31 | macx { 32 | QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/ 33 | } 34 | -------------------------------------------------------------------------------- /lexilla/src/Lexilla/Lexilla.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lexilla/test/examples/asciidoc/SciTE.properties: -------------------------------------------------------------------------------- 1 | code.page=65001 2 | lexer.*.adoc=asciidoc 3 | fold=1 4 | -------------------------------------------------------------------------------- /lexilla/test/examples/bash/AllStyles.bsh: -------------------------------------------------------------------------------- 1 | # Enumerate all styles: 0 to 13 2 | 3 | # comment=2 4 | 5 | # whitespace=0 6 | # w 7 | 8 | # error=1 9 | 0#0000 10 | 11 | # number=3 12 | 123 13 | 14 | # keyword=4 15 | set 16 | 17 | # double-quoted-string=5 18 | "string" 19 | 20 | # single-quoted-string=6 21 | 'str' 22 | 23 | # operator=7 24 | + 25 | 26 | # identifier=8 27 | identifier 28 | 29 | # scalar=9 30 | $scalar 31 | $?Status 32 | 33 | # parameter-expansion=10 34 | ${parameter} 35 | 36 | # back-ticks=11 37 | `ls` 38 | 39 | # here-doc-delimiter=12, here-doc=13 40 | < ignore 15 | -------------------------------------------------------------------------------- /lexilla/test/examples/fsharp/Issue56.fs.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 // not folded 2 | 1 400 400 3 | 2 400 401 + // first line in comment fold 4 | 0 401 401 | // second . . . 5 | 0 401 400 | // third . . . 6 | 0 400 400 namespace Issue56 7 | 1 400 400 8 | 0 400 400 open System 9 | 1 400 400 10 | 0 400 400 module LineBasedFoldingCheck = 11 | 2 400 401 + open FSharp.Quotations 12 | 0 401 400 | open FSharp.Reflection 13 | 1 400 400 14 | 0 400 400 () |> ignore 15 | 1 400 400 -------------------------------------------------------------------------------- /lexilla/test/examples/fsharp/Issue56.fs.styled: -------------------------------------------------------------------------------- 1 | {9}// not folded{0} 2 | 3 | {9}// first line in comment fold{0} 4 | {9}// second . . .{0} 5 | {9}// third . . .{0} 6 | {1}namespace{0} {6}Issue56{0} 7 | 8 | {1}open{0} {3}System{0} 9 | 10 | {1}module{0} {6}LineBasedFoldingCheck{0} {12}={0} 11 | {1}open{0} {3}FSharp{0}.{6}Quotations{0} 12 | {1}open{0} {3}FSharp{0}.{6}Reflection{0} 13 | 14 | {1}(){0} {12}|>{0} {2}ignore{0} 15 | -------------------------------------------------------------------------------- /lexilla/test/examples/gdscript/AllStyles.gd: -------------------------------------------------------------------------------- 1 | # Enumerate all styles: 0 to 15 2 | # comment=1 3 | 4 | # whitespace=0 5 | # w 6 | 7 | # number=2 8 | 37 9 | 10 | # double-quoted-string=3 11 | "str" 12 | 13 | # single-quoted-string=4 14 | 'str' 15 | 16 | # keyword=5 17 | pass 18 | 19 | # triple-quoted-string=6 20 | '''str''' 21 | 22 | # triple-double-quoted-string=7 23 | """str""" 24 | 25 | # class-name=8 26 | class ClassName: 27 | pass 28 | 29 | # function-name=9 30 | func function_name(): 31 | pass 32 | 33 | # operator=10 34 | 1 + 3 35 | 36 | # identifier=11 37 | var identifier = 2 38 | 39 | # comment-block=12 40 | ## block 41 | 42 | # unclosed-string=13 43 | " unclosed 44 | 45 | # highlighted-identifier=14 46 | var hilight = 2 47 | 48 | # annotation=15 49 | @onready 50 | var a = 3 51 | @onready var b = 3 52 | 53 | # node-identifier=16 54 | %node 55 | $node 56 | -------------------------------------------------------------------------------- /lexilla/test/examples/gdscript/NodePath.gd: -------------------------------------------------------------------------------- 1 | # nodepath 2 | 3 | $Node 4 | 5 | %Node 6 | 7 | %node/"n o d e"/%'n o d e' 8 | 9 | %"No de" 10 | 11 | 12 | $/root/ThisNode/%Node % %test 13 | 14 | $MainMenuPanel/%Options % %test 15 | 16 | %Options % %test 17 | 18 | $Node % %test 19 | 20 | 21 | get_node("%Options") % %test 22 | 23 | $"Nod se" % %test 24 | 25 | $/test/"No % de"/test % %test 26 | 27 | %node/"n o d e"/'n o d e' % %"No De" 28 | 29 | "%010d" % 12345 30 | 31 | 1 % 1 32 | 33 | a % b 34 | -------------------------------------------------------------------------------- /lexilla/test/examples/gdscript/NodePath.gd.styled: -------------------------------------------------------------------------------- 1 | {1}# nodepath{0} 2 | 3 | {16}$Node{0} 4 | 5 | {16}%Node{0} 6 | 7 | {16}%node/"n o d e"/%'n o d e'{0} 8 | 9 | {16}%"No de"{0} 10 | 11 | 12 | {16}$/root/ThisNode/%Node{0} {10}%{0} {16}%test{0} 13 | 14 | {16}$MainMenuPanel/%Options{0} {10}%{0} {16}%test{0} 15 | 16 | {16}%Options{0} {10}%{0} {16}%test{0} 17 | 18 | {16}$Node{0} {10}%{0} {16}%test{0} 19 | 20 | 21 | {11}get_node{10}({3}"%Options"{10}){0} {10}%{0} {16}%test{0} 22 | 23 | {16}$"Nod se"{0} {10}%{0} {16}%test{0} 24 | 25 | {16}$/test/"No % de"/test{0} {10}%{0} {16}%test{0} 26 | 27 | {16}%node/"n o d e"/'n o d e'{0} {10}%{0} {16}%"No De"{0} 28 | 29 | {3}"%010d"{0} {10}%{0} {2}12345{0} 30 | 31 | {2}1{0} {10}%{0} {2}1{0} 32 | 33 | {11}a{0} {10}%{0} {11}b{0} 34 | -------------------------------------------------------------------------------- /lexilla/test/examples/gdscript/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.gd=gdscript 2 | keywords.*.gd=class func else for if extends in pass print return while var 3 | keywords2.*.gd=hilight 4 | fold=1 5 | fold.compact=1 6 | -------------------------------------------------------------------------------- /lexilla/test/examples/gui4cli/AllStyles.gui: -------------------------------------------------------------------------------- 1 | /* Comment (2), followed by Default (0) */ 2 | 3 | /* File does not include Line Comment (1) as that causes \r\n failures in test runner */ 4 | 5 | /* Global (3) 'G4C' */ 6 | G4C MyGui 7 | 8 | /* String (8) */ 9 | Window 10 10 200 300 "My window" 10 | 11 | /* Event (4) */ 12 | xOnLoad 13 | /* Command (7) */ 14 | GuiOpen MyGui 15 | 16 | xButton 10 10 100 20 "Double it!" 17 | /* Attribute (5) */ 18 | attr frame sunk 19 | Input "Enter a number" var 20 | /* Control (6) 'if', Operator (9) '$', '>', '=' */ 21 | if $var > 9999 22 | var = 9999 23 | endif 24 | var2 = $($var * 2) 25 | MsgBox "$var times 2 equals $var2" OK/INFO 26 | GuiQuit #this 27 | -------------------------------------------------------------------------------- /lexilla/test/examples/gui4cli/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.gui=gui4cli 2 | fold=1 3 | 4 | #global 5 | keywords.*.gui=G4C WINDOW XBUTTON 6 | #event 7 | keywords2.*.gui=XONCLOSE XONLVDIR XONLOAD 8 | #attribute 9 | keywords3.*.gui=ATTR 10 | #control 11 | keywords4.*.gui=IF ELSE ENDIF GOSUB 12 | #command 13 | keywords5.*.gui=GUIOPEN GUIQUIT INPUT MSGBOX SETWINTITLE 14 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Bug2207.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Bug2207.html.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 2 | 2 400 0 + 3 | 2 401 0 + 7 | 0 401 0 | 8 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Bug2207.html.styled: -------------------------------------------------------------------------------- 1 | {21}{0} 2 | {1}{0} 3 | {1}{0} 7 | {1}{0} 8 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Bug2219.html: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Bug2219.html.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + 7 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Bug2219.html.styled: -------------------------------------------------------------------------------- 1 | {1}{0} 7 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Issue19.php: -------------------------------------------------------------------------------- 1 | 31 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Issue20Numbers.php: -------------------------------------------------------------------------------- 1 | 31 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Issue47.html: -------------------------------------------------------------------------------- 1 | 4 | 8 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Issue47.html.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + 4 | 2 400 0 + 8 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Issue47.html.styled: -------------------------------------------------------------------------------- 1 | {1}{40} 2 | {43}// comment{41} 3 | {1}{0} 4 | {1}{0} 8 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Issue53.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Issue53.html.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + 6 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/Issue53.html.styled: -------------------------------------------------------------------------------- 1 | {1}{0} 6 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*=hypertext 2 | keywords.*=b body content head height href html img language link meta \ 3 | name rel runat script src strong title type width xmlns 4 | keywords2.*=function var 5 | keywords3.*=dim sub 6 | keywords5.*=echo __file__ __line__ 7 | fold=1 8 | fold.html=1 9 | fold.html.preprocessor=1 10 | fold.hypertext.comment=1 11 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/ServerBasic.aspx: -------------------------------------------------------------------------------- 1 | <%@ register tagprefix="uc1" 2 | tagname="CalendarUserControl" 3 | src="~/CalendarUserControl.ascx" %> 4 | 5 | 6 | <%@language=VBScript%> 7 | <%-- comment --%> 8 | 14 | 18 | Start 19 | <%response.write("1")%> 20 | <% 'comment%> 21 | <%dim x="2"'comment%> 22 | <%response.write(x)%> 23 | End 24 | 25 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/ServerBasic.aspx.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + <%@ register tagprefix="uc1" 2 | 0 401 0 | tagname="CalendarUserControl" 3 | 0 401 0 | src="~/CalendarUserControl.ascx" %> 4 | 0 400 0 5 | 2 400 0 + 6 | 0 401 0 | <%@language=VBScript%> 7 | 0 401 0 | <%-- comment --%> 8 | 2 401 0 + 14 | 2 401 0 + 18 | 0 401 0 | Start 19 | 0 401 0 | <%response.write("1")%> 20 | 0 401 0 | <% 'comment%> 21 | 0 401 0 | <%dim x="2"'comment%> 22 | 0 401 0 | <%response.write(x)%> 23 | 0 401 0 | End 24 | 0 401 0 | 25 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/ServerBasic.aspx.styled: -------------------------------------------------------------------------------- 1 | {15}<%@{16} register tagprefix="uc1" 2 | tagname="CalendarUserControl" 3 | src="~/CalendarUserControl.ascx" {15}%>{0} 4 | {21}{0} 5 | {1}{0} 6 | {15}<%@{16}language=VBScript{15}%>{0} 7 | {15}<%--{20} comment --{15}%>{0} 8 | {1}{70} 9 | {72}'1%>2{71} 10 | {72}'1?>2{71} 11 | {72}'%>{71} 12 | {72}'?>{71} 13 | {1}{0} 14 | {1}{70} 15 | {74}dim{71} {76}e{71}={75}"%>"{71} 16 | {74}dim{71} {76}f{71}={75}"?>"{71} 17 | {1}{0} 18 | Start 19 | {15}<%{86}response.write{81}({85}"1"{81}){15}%>{0} 20 | {15}<%{81} {82}'comment{15}%>{0} 21 | {15}<%{84}dim{81} {86}x{81}={85}"2"{82}'comment{15}%>{0} 22 | {15}<%{86}response.write{81}({86}x{81}){15}%>{0} 23 | End 24 | {1}{0} 25 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/ServerJavaScript.aspx: -------------------------------------------------------------------------------- 1 | 2 | 3 | <%@language=JScript%> 4 | <%-- comment --%> 5 | 9 | 13 | Start 14 | <%Response.Write("1")%> 15 | <%var x=3;//comment%> 16 | <%x=3;//comment ?> %> 17 | <%Response.Write(x)%> 18 | End 19 | 20 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/ServerJavaScript.aspx.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 2 | 2 400 0 + 3 | 0 401 0 | <%@language=JScript%> 4 | 0 401 0 | <%-- comment --%> 5 | 2 401 0 + 9 | 2 401 0 + 13 | 0 401 0 | Start 14 | 0 401 0 | <%Response.Write("1")%> 15 | 0 401 0 | <%var x=3;//comment%> 16 | 0 401 0 | <%x=3;//comment ?> %> 17 | 0 401 0 | <%Response.Write(x)%> 18 | 0 401 0 | End 19 | 0 401 0 | 20 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/ServerJavaScript.aspx.styled: -------------------------------------------------------------------------------- 1 | {21}{0} 2 | {1}{0} 3 | {15}<%@{16}language=JScript{15}%>{0} 4 | {15}<%--{20} comment --{15}%>{0} 5 | {1}{40} 6 | {43}//%>{41} 7 | {43}//?>{41} 8 | {1}{0} 9 | {1}{40} 10 | {46}e{50}={48}"%>"{50};{41} 11 | {46}f{50}={48}"?>"{50};{41} 12 | {1}{0} 13 | Start 14 | {15}<%{61}Response.Write{65}({63}"1"{65}){15}%>{0} 15 | {15}<%{62}var{56} {61}x{65}={60}3{65};{58}//comment{15}%>{0} 16 | {15}<%{61}x{65}={60}3{65};{58}//comment ?> {15}%>{0} 17 | {15}<%{61}Response.Write{65}({61}x{65}){15}%>{0} 18 | End 19 | {1}{0} 20 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/apostophe.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/apostophe.php.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + 10 | 1 400 0 11 | 0 400 0
12 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/apostophe.php.styled: -------------------------------------------------------------------------------- 1 | {18}{0} 10 | 11 | {2}
{0} 12 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/x.asp: -------------------------------------------------------------------------------- 1 | <%@language=javas%> 2 | <% 3 | #include 4 | function x() { 5 | } 6 | %> 7 | <%@language=vbscript%> 8 | <% 9 | sub x 'comment 10 | %> 11 | 12 | 13 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/x.asp.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 <%@language=javas%> 2 | 2 400 0 + <% 3 | 0 401 0 | #include 4 | 2 401 0 + function x() { 5 | 0 402 0 | } 6 | 0 401 0 | %> 7 | 0 400 0 <%@language=vbscript%> 8 | 2 400 0 + <% 9 | 0 401 0 | sub x 'comment 10 | 0 401 0 | %> 11 | 2 400 0 + 12 | 0 401 0 | 13 | 0 401 0 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/x.asp.styled: -------------------------------------------------------------------------------- 1 | {15}<%@{16}language=javas{15}%>{0} 2 | {15}<%{56} 3 | #{61}include{56} 4 | {62}function{56} {61}x{65}(){56} {65}{{56} 5 | {65}}{56} 6 | {15}%>{0} 7 | {15}<%@{16}language=vbscript{15}%>{0} 8 | {15}<%{81} 9 | {84}sub{81} {86}x{81} {82}'comment {81} 10 | {15}%>{0} 11 | {1}{0} 12 | {1}{0} 13 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/x.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | SinkWorld - Portability 10 | SinkWorld - Portability 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/x.html.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + 2 | 2 401 0 + 7 | 2 401 0 + 8 | 0 402 0 | 9 | 0 402 0 | SinkWorld - Portability 10 | 0 402 0 | SinkWorld - Portability 11 | 0 402 0 | 12 | 0 402 0 | 13 | 0 402 0 | 14 | 0 401 0 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/x.html.styled: -------------------------------------------------------------------------------- 1 | {1}{0} 2 | {1}{40} 3 | {47}var{41} {46}b{41} {50}={41} {52}/abc/i{46}.test{50}({49}'abc'{50});{41} 4 | {49}'x\ 5 | '{41} 6 | {1}{0} 7 | {1}{0} 8 | {1}{0} 9 | {1}{0}SinkWorld - Portability{1}{0} 10 | {2}{0}SinkWorld - Portability{2}{0} 11 | {1}{0} 12 | {1}{0} 13 | {1}{0} 14 | -------------------------------------------------------------------------------- /lexilla/test/examples/hypertext/x.php: -------------------------------------------------------------------------------- 1 | 2 | \n"; 5 | /* ?> */ 6 | ?> 7 | forif 8 | 18 | -------------------------------------------------------------------------------- /lexilla/test/examples/inno/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.iss=inno 2 | fold=1 3 | keywords.*.iss=code custommessages files ini messages registry setup 4 | keywords2.*.iss=appname appcopyright onlybelowversion wizardsmallimagefile 5 | keywords3.*.iss=destdir key onlybelowversion root source string valuetype 6 | keywords4.*.iss=define 7 | keywords5.*.iss=\ 8 | and begin break case const continue do downto else end except exit \ 9 | false finally for function if not of on or procedure repeat then to \ 10 | true try type until uses var while with 11 | keywords6.*.iss= 12 | -------------------------------------------------------------------------------- /lexilla/test/examples/json/AllStyles.json: -------------------------------------------------------------------------------- 1 | // Enumerate all styles: 0 to 13 2 | 3 | // default=0 4 | 5 | 6 | // number=1 7 | 1 8 | 9 | // string=2 10 | "2" 11 | 12 | // stringeol=3 13 | "3 14 | 15 | // propertyname=4 16 | "4": 17 | 18 | // escapesequence=5 19 | "\n" 20 | 21 | // linecomment=6 22 | // 6 Line Comment 23 | 24 | // blockcomment=7 25 | /* 7 Block Comment */ 26 | 27 | // operator=8 28 | {} 29 | 30 | // uri=9 31 | "http://9.org" 32 | 33 | // compactiri=10 34 | "x:y" 35 | 36 | // keyword=11 37 | true 38 | 39 | // ldkeyword=12 40 | "@id" 41 | 42 | // error=13 43 | # 13 error 44 | -------------------------------------------------------------------------------- /lexilla/test/examples/json/AllStyles.json.styled: -------------------------------------------------------------------------------- 1 | {6}// Enumerate all styles: 0 to 13{0} 2 | 3 | {6}// default=0{0} 4 | 5 | 6 | {6}// number=1{0} 7 | {1}1{0} 8 | 9 | {6}// string=2{0} 10 | {2}"2"{0} 11 | 12 | {6}// stringeol=3{0} 13 | {3}"3 14 | {0} 15 | {6}// propertyname=4{0} 16 | {4}"4"{8}:{0} 17 | 18 | {6}// escapesequence=5{0} 19 | {2}"{5}\n{2}"{0} 20 | 21 | {6}// linecomment=6{0} 22 | {6}// 6 Line Comment{0} 23 | 24 | {6}// blockcomment=7{0} 25 | {7}/* 7 Block Comment */{0} 26 | 27 | {6}// operator=8{0} 28 | {8}{}{0} 29 | 30 | {6}// uri=9{0} 31 | {2}"{9}http://9.org{2}"{0} 32 | 33 | {6}// compactiri=10{0} 34 | {10}"x:y"{0} 35 | 36 | {6}// keyword=11{0} 37 | {11}true{0} 38 | 39 | {6}// ldkeyword=12{0} 40 | {2}"{12}@id{2}"{0} 41 | 42 | {6}// error=13{0} 43 | {13}# 13 error{0} 44 | -------------------------------------------------------------------------------- /lexilla/test/examples/json/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.json=json 2 | 3 | # JSON keywords 4 | keywords.*.json=false true null 5 | 6 | # JSON-LD keywords 7 | keywords2.*.json=@id @context @type @value @language @container \ 8 | @list @set @reverse @index @base @vocab @graph 9 | 10 | lexer.json.escape.sequence=1 11 | lexer.json.allow.comments=1 12 | fold=1 13 | fold.compact=1 14 | 15 | -------------------------------------------------------------------------------- /lexilla/test/examples/julia/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.jl=julia 2 | keywords.*.jl=const end for function in where 3 | keywords2.*.jl=Int Number 4 | keywords3.*.jl=true 5 | -------------------------------------------------------------------------------- /lexilla/test/examples/julia/x.jl: -------------------------------------------------------------------------------- 1 | 2 | # Comment here 3 | const bar = '\n' 4 | 5 | """ 6 | test_fun(a::Int) 7 | For test only 8 | """ 9 | function test_fun(a::Int, b::T) where T <: Number 10 | println(a) 11 | println("foo $(bar)") 12 | end 13 | 14 | @enum Unicode α=1 β=2 15 | 16 | res = [√i for i in 1:10] 17 | ∀=1; ∃=2; ∄=3; 18 | 19 | t!'#' 20 | t!='#' 21 | t[]!='#' 22 | 23 | #= Dummy function =# 24 | test_fun²(:sym, true, raw"test", `echo 1`) 25 | -------------------------------------------------------------------------------- /lexilla/test/examples/julia/x.jl.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 2 | 0 400 400 # Comment here 3 | 0 400 400 const bar = '\n' 4 | 0 400 400 5 | 2 400 401 + """ 6 | 0 401 401 | test_fun(a::Int) 7 | 0 401 401 | For test only 8 | 0 401 400 | """ 9 | 2 400 401 + function test_fun(a::Int, b::T) where T <: Number 10 | 0 401 401 | println(a) 11 | 0 401 401 | println("foo $(bar)") 12 | 0 401 400 | end 13 | 0 400 400 14 | 0 400 400 @enum Unicode α=1 β=2 15 | 0 400 400 16 | 0 400 400 res = [√i for i in 1:10] 17 | 0 400 400 ∀=1; ∃=2; ∄=3; 18 | 0 400 400 19 | 0 400 400 t!'#' 20 | 0 400 400 t!='#' 21 | 0 400 400 t[]!='#' 22 | 0 400 400 23 | 0 400 400 #= Dummy function =# 24 | 0 400 400 test_fun²(:sym, true, raw"test", `echo 1`) 25 | 1 400 400 -------------------------------------------------------------------------------- /lexilla/test/examples/julia/x.jl.styled: -------------------------------------------------------------------------------- 1 | {0} 2 | {1}# Comment here{0} 3 | {3}const{0} {9}bar{0} {7}={0} {6}'\n'{0} 4 | 5 | {14}""" 6 | test_fun(a::Int) 7 | For test only 8 | """{0} 9 | {3}function{0} {9}test_fun{8}({9}a{21}::{4}Int{7},{0} {9}b{21}::{9}T{8}){0} {3}where{0} {9}T{0} {21}<:{0} {4}Number{0} 10 | {9}println{8}({9}a{8}){0} 11 | {9}println{8}({10}"foo {13}$(bar){10}"{8}){0} 12 | {3}end{0} 13 | 14 | {12}@enum{0} {9}Unicode{0} {9}α{7}={2}1{0} {9}β{7}={2}2{0} 15 | 16 | {9}res{0} {7}={0} {8}[{7}√{9}i{0} {3}for{0} {9}i{0} {3}in{0} {2}1{7}:{2}10{8}]{0} 17 | {9}∀{7}={2}1{7};{0} {9}∃{7}={2}2{7};{0} {9}∄{7}={2}3{7};{0} 18 | 19 | {9}t!{7}'{1}#'{0} 20 | {9}t!{7}={6}'#'{0} 21 | {9}t{8}[]{7}!={6}'#'{0} 22 | 23 | {1}#= Dummy function =#{0} 24 | {9}test_fun²{8}({11}:sym{7},{0} {5}true{7},{0} {15}raw{10}"test"{7},{0} {16}`echo 1`{8}){0} 25 | -------------------------------------------------------------------------------- /lexilla/test/examples/latex/AllStyles.tex: -------------------------------------------------------------------------------- 1 | % Enumerate all styles: 0 to 12 2 | % Not a valid laTeX file as entities are unbalanced and not semantically correct 3 | % comment=4 4 | 5 | % whitespace=0 6 | text % 7 | 8 | % command=1 9 | \documentclass 10 | 11 | % tag=2 12 | \begin{document} 13 | 14 | % tag closing=5 15 | \end{document} 16 | 17 | % math=3 18 | \begin{math} 19 | E &= mc^2 20 | \end{math} 21 | 22 | % math block=6 23 | \begin{align} 24 | E &= mc^2 25 | \end{align} 26 | 27 | % comment block=7 28 | \begin{comment} 29 | A block comment 30 | \end{comment} 31 | 32 | % verbatim=8 33 | \begin{verbatim} 34 | puts $foo 35 | \end{verbatim} 36 | 37 | % short command=9 38 | \(\) 39 | 40 | % special=10 41 | \# 42 | 43 | % command optional argument=11 44 | \x[12pt] 45 | 46 | % error=12 47 | \ 48 | -------------------------------------------------------------------------------- /lexilla/test/examples/latex/Feature1358.tex: -------------------------------------------------------------------------------- 1 | \begin{lstlisting}[language=make] 2 | # If no BOARD is found in the environment, use this default: 3 | BOARD ?= bluepill 4 | 5 | # To use chinese st-link v2 and ch340 dongle with bluepill 6 | ifeq ($(BOARD),bluepill) 7 | STLINK_VERSION=2 8 | PORT_LINUX=/dev/ttyUSB0 9 | endif 10 | \end{lstlisting} 11 | -------------------------------------------------------------------------------- /lexilla/test/examples/latex/Feature1358.tex.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + \begin{lstlisting}[language=make] 2 | 0 401 0 | # If no BOARD is found in the environment, use this default: 3 | 0 401 0 | BOARD ?= bluepill 4 | 0 401 0 | 5 | 0 401 0 | # To use chinese st-link v2 and ch340 dongle with bluepill 6 | 0 401 0 | ifeq ($(BOARD),bluepill) 7 | 0 401 0 | STLINK_VERSION=2 8 | 0 401 0 | PORT_LINUX=/dev/ttyUSB0 9 | 0 401 0 | endif 10 | 0 401 0 | \end{lstlisting} 11 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/latex/Feature1358.tex.styled: -------------------------------------------------------------------------------- 1 | {1}\begin{2}{lstlisting}{8}[language=make] 2 | # If no BOARD is found in the environment, use this default: 3 | BOARD ?= bluepill 4 | 5 | # To use chinese st-link v2 and ch340 dongle with bluepill 6 | ifeq ($(BOARD),bluepill) 7 | STLINK_VERSION=2 8 | PORT_LINUX=/dev/ttyUSB0 9 | endif 10 | {1}\end{5}{lstlisting}{0} 11 | -------------------------------------------------------------------------------- /lexilla/test/examples/latex/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.tex=latex 2 | -------------------------------------------------------------------------------- /lexilla/test/examples/lua/Bug2205.lua: -------------------------------------------------------------------------------- 1 | print("First") 2 | --[[ Block comment start 3 | print("Second") 4 | --[[ Another block comment ]] 5 | print("Third. If run through an actual program, this will be executed.") 6 | -------------------------------------------------------------------------------- /lexilla/test/examples/lua/Bug2205.lua.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 print("First") 2 | 2 400 0 + --[[ Block comment start 3 | 0 401 0 | print("Second") 4 | 0 401 0 | --[[ Another block comment ]] 5 | 0 400 0 print("Third. If run through an actual program, this will be executed.") 6 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/lua/Bug2205.lua.styled: -------------------------------------------------------------------------------- 1 | {13}print{10}({6}"First"{10}){0} 2 | {1}--[[ Block comment start 3 | print("Second") 4 | --[[ Another block comment ]]{0} 5 | {13}print{10}({6}"Third. If run through an actual program, this will be executed."{10}){0} 6 | -------------------------------------------------------------------------------- /lexilla/test/examples/lua/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.lua=lua 2 | keywords.*.lua=function end 3 | keywords2.*.lua=print 4 | fold=1 5 | -------------------------------------------------------------------------------- /lexilla/test/examples/lua/x.lua: -------------------------------------------------------------------------------- 1 | --[[ coding:UTF-8 2 | comment ]] 3 | function first() 4 | ::開:: 5 | -- Comment 6 | func(SCI_ANNOTATIONSETTEXT, 'a', 0, "LINE1") 7 | end 8 | -------------------------------------------------------------------------------- /lexilla/test/examples/lua/x.lua.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + --[[ coding:UTF-8 2 | 0 401 0 | comment ]] 3 | 2 400 0 + function first() 4 | 0 401 0 | ::開:: 5 | 0 401 0 | -- Comment 6 | 0 401 0 | func(SCI_ANNOTATIONSETTEXT, 'a', 0, "LINE1") 7 | 0 401 0 | end 8 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/lua/x.lua.styled: -------------------------------------------------------------------------------- 1 | {1}--[[ coding:UTF-8 2 | comment ]]{0} 3 | {5}function{0} {11}first{10}(){0} 4 | {20}::開::{0} 5 | {2}-- Comment 6 | {0} {11}func{10}({11}SCI_ANNOTATIONSETTEXT{10},{0} {7}'a'{10},{0} {4}0{10},{0} {6}"LINE1"{10}){0} 7 | {5}end{0} 8 | -------------------------------------------------------------------------------- /lexilla/test/examples/makefile/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.mak=makefile 2 | -------------------------------------------------------------------------------- /lexilla/test/examples/makefile/x.mak: -------------------------------------------------------------------------------- 1 | # '# comment' comment=1 2 | # comment 3 | 4 | # '.SUFFIXES' target=5, ':' operator=4 5 | .SUFFIXES: 6 | 7 | # 'LD' identifier=3, '=' operator=4, 'link' default=0 8 | LD=link 9 | 10 | # '!IFDEF DEBUG' preprocessor=2 11 | !IFDEF DEBUG 12 | 13 | # '$(' ID EOL=9 14 | X=$( 15 | 16 | # End of file 17 | -------------------------------------------------------------------------------- /lexilla/test/examples/makefile/x.mak.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 # '# comment' comment=1 2 | 0 400 0 # comment 3 | 0 400 0 4 | 0 400 0 # '.SUFFIXES' target=5, ':' operator=4 5 | 0 400 0 .SUFFIXES: 6 | 0 400 0 7 | 0 400 0 # 'LD' identifier=3, '=' operator=4, 'link' default=0 8 | 0 400 0 LD=link 9 | 0 400 0 10 | 0 400 0 # '!IFDEF DEBUG' preprocessor=2 11 | 0 400 0 !IFDEF DEBUG 12 | 0 400 0 13 | 0 400 0 # '$(' ID EOL=9 14 | 0 400 0 X=$( 15 | 0 400 0 16 | 0 400 0 # End of file 17 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/makefile/x.mak.styled: -------------------------------------------------------------------------------- 1 | {1}# '# comment' comment=1 2 | # comment 3 | {0} 4 | {1}# '.SUFFIXES' target=5, ':' operator=4 5 | {5}.SUFFIXES{4}:{0} 6 | 7 | {1}# 'LD' identifier=3, '=' operator=4, 'link' default=0 8 | {3}LD{4}={0}link 9 | 10 | {1}# '!IFDEF DEBUG' preprocessor=2 11 | {2}!IFDEF DEBUG 12 | {0} 13 | {1}# '$(' ID EOL=9 14 | {3}X{4}={9}$( 15 | {0} 16 | {1}# End of file 17 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/AllStyles.md: -------------------------------------------------------------------------------- 1 | Text=0 2 | Line end characters=1 3 | **Strong Emphasis (bold) 1=2** 4 | __Strong Emphasis (bold) 2=3__ 5 | *Emphasis (italic) 1=4* 6 | _Emphasis (italic) 2=5_ 7 | # Heading level 1=6 8 | ## Heading level 2=7 9 | ### Heading level 3=8 10 | #### Heading level 4=9 11 | ##### Heading level 5=10 12 | ###### Heading level 6=11 13 | PreChar=12 14 | * Unordered list item=13 15 | 1. Ordered list item=14 16 | >Block Quote=15 17 | ~~Strike-out=16~~ 18 | 19 | *** 20 | Previous line was horizontal rule=17 21 | [Link=18](https://18.com) 22 | `Inline Code=19` 23 | ``Inline Code=20`` 24 | 25 | ~~~ 26 | Block code=21 27 | ~~~ 28 | 29 | ## Issue 23 30 | ` -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/AllStyles.md.styled: -------------------------------------------------------------------------------- 1 | {0}Text=0{1} 2 | {0}Line end characters=1{1} 3 | {2}**Strong Emphasis (bold) 1=2**{1} 4 | {3}__Strong Emphasis (bold) 2=3__{1} 5 | {4}*Emphasis (italic) 1=4*{1} 6 | {5}_Emphasis (italic) 2=5_{1} 7 | {6}#{0} Heading level 1=6{1} 8 | {7}##{0} Heading level 2=7{1} 9 | {8}###{0} Heading level 3=8{1} 10 | {9}####{0} Heading level 4=9{1} 11 | {10}#####{0} Heading level 5=10{1} 12 | {11}######{0} Heading level 6=11{1} 13 | {12} {0}PreChar=12{1} 14 | {13}*{0} Unordered list item=13{1} 15 | {14}1.{0} Ordered list item=14{1} 16 | {15}>{0}Block Quote=15{1} 17 | {16}~~Strike-out=16~~{1} 18 | 19 | {17}***{1} 20 | {0}Previous line was horizontal rule=17{1} 21 | {18}[Link=18](https://18.com){1} 22 | {19}`Inline Code=19`{1} 23 | {20}``Inline Code=20``{1} 24 | 25 | {21}~~~ 26 | Block code=21 27 | ~~~{1} 28 | 29 | {7}##{0} Issue 23{1} 30 | {0}` -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Bug1216.md: -------------------------------------------------------------------------------- 1 | # Checking resolution of bug 1216 2 | 3 | *This line is not emphasized 4 | 5 | This is plain text with *inline emphasis* 6 | 7 | _This, too, is not emphasized 8 | 9 | And this is plain text with _inline emphasis_ 10 | 11 | **This line is not in bold 12 | 13 | But this is plain text with some words **in bold** 14 | 15 | __This line is also not in bold 16 | 17 | And this is plain text with __some words in bold__ 18 | 19 | ~~This line is not crossed out 20 | 21 | This is plain text with ~~some words crossed out~~ 22 | 23 | ~~~ 24 | this is a code block 25 | ~~~ 26 | 27 | This is a new paragraph 28 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Bug1216.md.styled: -------------------------------------------------------------------------------- 1 | {6}#{0} Checking resolution of bug 1216{1} 2 | 3 | {0}*This line is not emphasized{1} 4 | 5 | {0}This is plain text with {4}*inline emphasis*{1} 6 | 7 | {0}_This, too, is not emphasized{1} 8 | 9 | {0}And this is plain text with {5}_inline emphasis_{1} 10 | 11 | {0}**This line is not in bold{1} 12 | 13 | {0}But this is plain text with some words {2}**in bold**{1} 14 | 15 | {0}__This line is also not in bold{1} 16 | 17 | {0}And this is plain text with {3}__some words in bold__{1} 18 | 19 | {0}~~This line is not crossed out{1} 20 | 21 | {0}This is plain text with {16}~~some words crossed out~~{1} 22 | 23 | {21}~~~ 24 | this is a code block 25 | ~~~{1} 26 | 27 | {0}This is a new paragraph{1} 28 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Bug2235.md: -------------------------------------------------------------------------------- 1 | Po spuštění modulu je zobrazen hlavní dialog modulu: 2 | 3 | ![](media\image21.png)V tomto dialogu lze nastavit různé 4 | parametry vykreslení výsledného schématu. Doporučujeme pro většinu 5 | případů ponechat přednastavené hodnoty. 6 | 7 | Základní parametry ne nacházejí v záložce *Obecné*: 8 | 9 | ![SciTE224.png][]V tomto dialogu lze nastavit různé 10 | parametry vykreslení výsledného schématu. Doporučujeme pro většinu 11 | případů ponechat přednastavené hodnoty. 12 | 13 | Základní parametry ne nacházejí v záložce _Obecné_ 14 | 15 | [SciTE224.png]: https://www.scintilla.org/SciTE224.png 16 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Bug2235.md.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 Po spuštění modulu je zobrazen hlavní dialog modulu: 2 | 0 400 0 3 | 0 400 0 ![](media\image21.png)V tomto dialogu lze nastavit různé 4 | 0 400 0 parametry vykreslení výsledného schématu. Doporučujeme pro většinu 5 | 0 400 0 případů ponechat přednastavené hodnoty. 6 | 0 400 0 7 | 0 400 0 Základní parametry ne nacházejí v záložce *Obecné*: 8 | 0 400 0 9 | 0 400 0 ![SciTE224.png][]V tomto dialogu lze nastavit různé 10 | 0 400 0 parametry vykreslení výsledného schématu. Doporučujeme pro většinu 11 | 0 400 0 případů ponechat přednastavené hodnoty. 12 | 0 400 0 13 | 0 400 0 Základní parametry ne nacházejí v záložce _Obecné_ 14 | 0 400 0 15 | 0 400 0 [SciTE224.png]: https://www.scintilla.org/SciTE224.png 16 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Bug2235.md.styled: -------------------------------------------------------------------------------- 1 | {0}Po spuštění modulu je zobrazen hlavní dialog modulu:{1} 2 | 3 | {18}![](media\image21.png){0}V tomto dialogu lze nastavit různé{1} 4 | {0}parametry vykreslení výsledného schématu. Doporučujeme pro většinu{1} 5 | {0}případů ponechat přednastavené hodnoty.{1} 6 | 7 | {0}Základní parametry ne nacházejí v záložce {4}*Obecné*{0}:{1} 8 | 9 | {18}![SciTE224.png][]{0}V tomto dialogu lze nastavit různé{1} 10 | {0}parametry vykreslení výsledného schématu. Doporučujeme pro většinu{1} 11 | {0}případů ponechat přednastavené hodnoty.{1} 12 | 13 | {0}Základní parametry ne nacházejí v záložce {5}_Obecné_{1} 14 | 15 | {18}[SciTE224.png]:{0} https://www.scintilla.org/SciTE224.png{1} 16 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Bug2247.md: -------------------------------------------------------------------------------- 1 | # Checking resolution of bug 2247 2 | 3 | ~~~sql 4 | SELECT datetime() AS `date`; 5 | ~~~ 6 | 7 | ```sql 8 | SELECT datetime() AS `date`; 9 | ``` 10 | 11 | List of examples: 12 | 13 | - example *one* 14 | 15 | - example _two_ 16 | 17 | - example `inline code without end 18 | 19 | In case of **AAA**: 20 | 21 | ```sql 22 | SELECT strftime('%Y-%m-%d %H:%M:%S', 'now') AS `date`; 23 | ``` 24 | 25 | or, in case of __BBB__: 26 | . . . 27 | 28 | - example *three* 29 | 30 | Last paragraph. 31 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Bug2247.md.styled: -------------------------------------------------------------------------------- 1 | {6}#{0} Checking resolution of bug 2247{1} 2 | 3 | {21}~~~sql 4 | SELECT datetime() AS `date`; 5 | ~~~{1} 6 | 7 | {20}```sql 8 | SELECT datetime() AS `date`; 9 | ```{1} 10 | 11 | {0}List of examples:{1} 12 | 13 | {13}-{0} example {4}*one*{1} 14 | 15 | {13}-{0} example {5}_two_{1} 16 | 17 | {13}-{0} example `inline code without end{1} 18 | 19 | {12} {0} In case of {2}**AAA**{0}:{1} 20 | {12} {0} {1} 21 | {12} {0} {20}```sql 22 | SELECT strftime('%Y-%m-%d %H:%M:%S', 'now') AS `date`; 23 | ```{1} 24 | {12} {0} {1} 25 | {12} {0} or, in case of {3}__BBB__{0}:{1} 26 | {12} {0} . . .{1} 27 | 28 | {13}-{0} example {4}*three*{1} 29 | 30 | {0}Last paragraph.{1} 31 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/HeaderEOLFill_0.md: -------------------------------------------------------------------------------- 1 | H1 2 | == 3 | 4 | H2 5 | -- 6 | 7 | # H1 8 | 9 | ## H2 10 | 11 | H1 12 | == 13 | H2 14 | -- 15 | # H1 16 | ## H2 17 | ### H3 18 | #### H4 19 | ##### H5 20 | ###### H6 21 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/HeaderEOLFill_0.md.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 H1 2 | 0 400 0 == 3 | 0 400 0 4 | 0 400 0 H2 5 | 0 400 0 -- 6 | 0 400 0 7 | 0 400 0 # H1 8 | 0 400 0 9 | 0 400 0 ## H2 10 | 0 400 0 11 | 0 400 0 H1 12 | 0 400 0 == 13 | 0 400 0 H2 14 | 0 400 0 -- 15 | 0 400 0 # H1 16 | 0 400 0 ## H2 17 | 0 400 0 ### H3 18 | 0 400 0 #### H4 19 | 0 400 0 ##### H5 20 | 0 400 0 ###### H6 21 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/HeaderEOLFill_0.md.styled: -------------------------------------------------------------------------------- 1 | {0}H1{1} 2 | {6}=={1} 3 | 4 | {0}H2{1} 5 | {7}--{1} 6 | 7 | {6}#{0} H1{1} 8 | 9 | {7}##{0} H2{1} 10 | 11 | {0}H1{1} 12 | {6}=={1} 13 | {0}H2{1} 14 | {7}--{1} 15 | {6}#{0} H1{1} 16 | {7}##{0} H2{1} 17 | {8}###{0} H3{1} 18 | {9}####{0} H4{1} 19 | {10}#####{0} H5{1} 20 | {11}######{0} H6{1} 21 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/HeaderEOLFill_1.md: -------------------------------------------------------------------------------- 1 | H1 2 | == 3 | 4 | H2 5 | -- 6 | 7 | # H1 8 | 9 | ## H2 10 | 11 | H1 12 | == 13 | H2 14 | -- 15 | # H1 16 | ## H2 17 | ### H3 18 | #### H4 19 | ##### H5 20 | ###### H6 21 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/HeaderEOLFill_1.md.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 H1 2 | 0 400 0 == 3 | 0 400 0 4 | 0 400 0 H2 5 | 0 400 0 -- 6 | 0 400 0 7 | 0 400 0 # H1 8 | 0 400 0 9 | 0 400 0 ## H2 10 | 0 400 0 11 | 0 400 0 H1 12 | 0 400 0 == 13 | 0 400 0 H2 14 | 0 400 0 -- 15 | 0 400 0 # H1 16 | 0 400 0 ## H2 17 | 0 400 0 ### H3 18 | 0 400 0 #### H4 19 | 0 400 0 ##### H5 20 | 0 400 0 ###### H6 21 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/HeaderEOLFill_1.md.styled: -------------------------------------------------------------------------------- 1 | {0}H1{1} 2 | {6}== 3 | {1} 4 | {0}H2{1} 5 | {7}-- 6 | {1} 7 | {6}# H1 8 | {1} 9 | {7}## H2 10 | {1} 11 | {0}H1{1} 12 | {6}== 13 | {0}H2{1} 14 | {7}-- 15 | {6}# H1 16 | {7}## H2 17 | {8}### H3 18 | {9}#### H4 19 | {10}##### H5 20 | {11}###### H6 21 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Issue117.md: -------------------------------------------------------------------------------- 1 | The number: 2 | 3 | 338269006135764734700913562171 4 | 5 | is prime. Therefore: 6 | 7 | 1. the only factors of 338269006135764734700913562171 are: 8 | 9 | 1 10 | 338269006135764734700913562171 11 | 12 | 2. 338269006135764734700913562171 is a natural number 13 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Issue117.md.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 The number: 2 | 0 400 0 3 | 0 400 0 338269006135764734700913562171 4 | 0 400 0 5 | 0 400 0 is prime. Therefore: 6 | 0 400 0 7 | 0 400 0 1. the only factors of 338269006135764734700913562171 are: 8 | 0 400 0 9 | 0 400 0 1 10 | 0 400 0 338269006135764734700913562171 11 | 0 400 0 12 | 0 400 0 2. 338269006135764734700913562171 is a natural number 13 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/Issue117.md.styled: -------------------------------------------------------------------------------- 1 | {0}The number:{1} 2 | 3 | {0}338269006135764734700913562171{1} 4 | 5 | {0}is prime. Therefore:{1} 6 | 7 | {12} {14}1.{0} the only factors of 338269006135764734700913562171 are:{1} 8 | 9 | {12} {0} 1{1} 10 | {12} {0} 338269006135764734700913562171{1} 11 | 12 | {12} {14}2.{0} 338269006135764734700913562171 is a natural number{1} 13 | -------------------------------------------------------------------------------- /lexilla/test/examples/markdown/SciTE.properties: -------------------------------------------------------------------------------- 1 | code.page=65001 2 | lexer.*.md=markdown 3 | fold=1 4 | 5 | # Tests for the lexer.markdown.header.eolfill property, issue #62 6 | if $(= $(FileNameExt);HeaderEOLFill_0.md) 7 | lexer.markdown.header.eolfill=0 8 | if $(= $(FileNameExt);HeaderEOLFill_1.md) 9 | lexer.markdown.header.eolfill=1 10 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/AllStyles.m.matlab: -------------------------------------------------------------------------------- 1 | % Examples of each style 0..8 except for SCE_MATLAB_COMMAND(2) which has a line ending bug 2 | 3 | % White space=0 4 | % 5 | 6 | % Comment=1 7 | % Line comment 8 | 9 | % Next line is comment in Ocatve but not Matlab 10 | # Octave comment 11 | 12 | %{ 13 | Block comment. 14 | %} 15 | 16 | % Command=2 17 | 18 | %{ 19 | Omitted as this places a style transiton between \r and \n 20 | !rmdir oldtests 21 | %} 22 | 23 | % Number=3 24 | 33.3 25 | 26 | % Keyword=4 27 | global x 28 | 29 | % Single Quoted String=5 30 | 'string' 31 | 32 | % Operator=6 33 | [X,Y] = meshgrid(-10:0.25:10,-10:0.25:10); 34 | 35 | % Identifier=7 36 | identifier = 2 37 | 38 | % Double Quoted String=8 39 | "string" 40 | 41 | % This loop should fold 42 | for i = 1:5 43 | x(i) = 3 * i; 44 | end 45 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/AllStyles.m.octave: -------------------------------------------------------------------------------- 1 | % Examples of each style 0..8 except for SCE_MATLAB_COMMAND(2) which has a line ending bug 2 | 3 | % White space=0 4 | % 5 | 6 | % Comment=1 7 | % Line comment 8 | 9 | % Next line is comment in Ocatve but not Matlab 10 | # Octave comment 11 | 12 | %{ 13 | Block comment. 14 | %} 15 | 16 | % Command=2 17 | 18 | %{ 19 | Omitted as this places a style transiton between \r and \n 20 | !rmdir oldtests 21 | %} 22 | 23 | % Number=3 24 | 33.3 25 | 26 | % Keyword=4 27 | global x 28 | 29 | % Single Quoted String=5 30 | 'string' 31 | 32 | % Operator=6 33 | [X,Y] = meshgrid(-10:0.25:10,-10:0.25:10); 34 | 35 | % Identifier=7 36 | identifier = 2 37 | 38 | % Double Quoted String=8 39 | "string" 40 | 41 | % This loop should fold 42 | for i = 1:5 43 | x(i) = 3 * i; 44 | end 45 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/FoldPoints.m.matlab: -------------------------------------------------------------------------------- 1 | % All the exaples here should yeild folding 2 | 3 | classdef 4 | % Some code 5 | end 6 | 7 | for 8 | % Some code 9 | end 10 | 11 | function 12 | % Some code 13 | end 14 | 15 | if 16 | % Some code 17 | elseif 18 | % Some code 19 | else 20 | % Some code 21 | end 22 | 23 | parfor 24 | % Some code 25 | end 26 | 27 | spmd 28 | % Some code 29 | end 30 | 31 | switch 32 | case 33 | % Some code 34 | case 35 | % Some code 36 | otherwise 37 | % Some code 38 | end 39 | 40 | try 41 | % Some code 42 | catch 43 | % Some code 44 | end 45 | 46 | while 47 | % Some code 48 | end 49 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/Issue18_EscapeSequence.m.matlab: -------------------------------------------------------------------------------- 1 | a=""""; 2 | b=1; 3 | c='\'; 4 | d=2; 5 | e="\"; 6 | f=3; 7 | %" this should be a comment (colored as such), instead it closes the string 8 | g=" 9 | h=123; 10 | %" this is a syntax error in Matlab (about 'g'), 11 | % followed by a valid assignment (of 'h') 12 | % Instead, 'h' is colored as part of the string 13 | 14 | % Octave terminates string at 3rd ", Matlab at 4th 15 | i="\" "; % " % 16 | 17 | % Matlab (unlike Octave) does not allow string continuation with an escape 18 | b = "multi\ 19 | line" 20 | 21 | % end 22 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/Issue18_EscapeSequence.m.matlab.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 a=""""; 2 | 0 400 400 b=1; 3 | 0 400 400 c='\'; 4 | 0 400 400 d=2; 5 | 0 400 400 e="\"; 6 | 0 400 400 f=3; 7 | 0 400 400 %" this should be a comment (colored as such), instead it closes the string 8 | 0 400 400 g=" 9 | 0 400 400 h=123; 10 | 0 400 400 %" this is a syntax error in Matlab (about 'g'), 11 | 0 400 400 % followed by a valid assignment (of 'h') 12 | 0 400 400 % Instead, 'h' is colored as part of the string 13 | 1 400 400 14 | 0 400 400 % Octave terminates string at 3rd ", Matlab at 4th 15 | 0 400 400 i="\" "; % " % 16 | 1 400 400 17 | 0 400 400 % Matlab (unlike Octave) does not allow string continuation with an escape 18 | 0 400 400 b = "multi\ 19 | 0 400 400 line" 20 | 1 400 400 21 | 0 400 400 % end 22 | 1 400 400 -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/Issue18_EscapeSequence.m.matlab.styled: -------------------------------------------------------------------------------- 1 | {7}a{6}={8}""""{6};{0} 2 | {7}b{6}={3}1{6};{0} 3 | {7}c{6}={5}'\'{6};{0} 4 | {7}d{6}={3}2{6};{0} 5 | {7}e{6}={8}"\"{6};{0} 6 | {7}f{6}={3}3{6};{0} 7 | {1}%" this should be a comment (colored as such), instead it closes the string{0} 8 | {7}g{6}={8}"{0} 9 | {7}h{6}={3}123{6};{0} 10 | {1}%" this is a syntax error in Matlab (about 'g'),{0} 11 | {1}% followed by a valid assignment (of 'h'){0} 12 | {1}% Instead, 'h' is colored as part of the string{0} 13 | 14 | {1}% Octave terminates string at 3rd ", Matlab at 4th{0} 15 | {7}i{6}={8}"\"{0} {8}"; % "{0} {1}%{0} 16 | 17 | {1}% Matlab (unlike Octave) does not allow string continuation with an escape{0} 18 | {7}b{0} {6}={0} {8}"multi\{0} 19 | {7}line{8}"{0} 20 | 21 | {1}% end{0} 22 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/Issue18_EscapeSequence.m.octave: -------------------------------------------------------------------------------- 1 | % Ensure escape sequences still work in octave 2 | % Octave terminates string at 3rd ", Matlab at 4th 3 | i="\" "; % " % 4 | 5 | 6 | % Octave allows string continuation with an escape 7 | b = "multi\ 8 | line" 9 | 10 | % No escape so string ends at line end 11 | c = "multi 12 | line" 13 | 14 | % end 15 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/Issue18_EscapeSequence.m.octave.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 % Ensure escape sequences still work in octave 2 | 0 400 400 % Octave terminates string at 3rd ", Matlab at 4th 3 | 0 400 400 i="\" "; % " % 4 | 1 400 400 5 | 1 400 400 6 | 0 400 400 % Octave allows string continuation with an escape 7 | 0 400 400 b = "multi\ 8 | 0 400 400 line" 9 | 1 400 400 10 | 0 400 400 % No escape so string ends at line end 11 | 0 400 400 c = "multi 12 | 0 400 400 line" 13 | 1 400 400 14 | 0 400 400 % end 15 | 1 400 400 -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/Issue18_EscapeSequence.m.octave.styled: -------------------------------------------------------------------------------- 1 | {1}% Ensure escape sequences still work in octave{0} 2 | {1}% Octave terminates string at 3rd ", Matlab at 4th{0} 3 | {7}i{6}={8}"\" "{6};{0} {1}% " %{0} 4 | 5 | 6 | {1}% Octave allows string continuation with an escape{0} 7 | {7}b{0} {6}={0} {8}"multi\ 8 | line"{0} 9 | 10 | {1}% No escape so string ends at line end {0} 11 | {7}c{0} {6}={0} {8}"multi{0} 12 | {7}line{8}"{0} 13 | 14 | {1}% end{0} 15 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/NumericLiterals.m.matlab: -------------------------------------------------------------------------------- 1 | d = 123; 2 | x = 0x123ABC; 3 | b = 0b010101; 4 | xs64 = 0x2As64; 5 | xs32 = 0x2As32; 6 | xs16 = 0x2As16; 7 | xs8 = 0x2As8; 8 | xu64 = 0x2Au64; 9 | xu32 = 0x2Au32; 10 | xu16 = 0x2Au16; 11 | xu8 = 0x2Au8; 12 | bs64 = 0b10s64; 13 | bs32 = 0b10s32; 14 | bs16 = 0b10s16; 15 | bs8 = 0b10s8; 16 | bu64 = 0b10u64; 17 | bu32 = 0b10u32; 18 | bu16 = 0b10u16; 19 | bu8 = 0b10u8; 20 | c = .1; 21 | c = 1.1; 22 | c = .1e1; 23 | c = 1.1e1; 24 | c = 1e1; 25 | c = 1i; 26 | c = 1j; 27 | c = .1e2j; 28 | c = 1e2j; 29 | -------------------------------------------------------------------------------- /lexilla/test/examples/matlab/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.matlab=matlab 2 | keywords.*.matlab=end for global if break case catch classdef continue else elseif function otherwise parfor persistent return spmd switch try while 3 | 4 | lexer.*.octave=octave 5 | keywords.*.octave=end for global if 6 | 7 | fold=1 8 | fold.compact=1 9 | -------------------------------------------------------------------------------- /lexilla/test/examples/mmixal/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.mms=mmixal 2 | keywords.*.mms=BYTE GETA JMP LOC PREFIX TRAP 3 | keywords2.*.mms=rA 4 | keywords3.*.mms=Fputs StdOut 5 | -------------------------------------------------------------------------------- /lexilla/test/examples/mmixal/references.mms: -------------------------------------------------------------------------------- 1 | # Bug #2019 Buffer over-read in MMIXAL lexer 2 | label 3 | PREFIX Foo: 4 | % Relative reference (uses PREFIX) 5 | JMP label 6 | % 7 | JMP @label 8 | % Absolute reference (does not use PREFIX) 9 | JMP :label 10 | % In register list so treated as register 11 | JMP :rA 12 | % Too long for buffer so truncated 13 | JMP l1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 14 | % Too long for buffer so truncated then treated as absolute 15 | JMP :l1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 16 | % 17 | -------------------------------------------------------------------------------- /lexilla/test/examples/mmixal/references.mms.styled: -------------------------------------------------------------------------------- 1 | {1}# Bug #2019 Buffer over-read in MMIXAL lexer 2 | {2}label{4} 3 | {0} {5}PREFIX{7} {10}Foo:{1} 4 | % Relative reference (uses PREFIX) 5 | {0} {5}JMP{7} {10}label{1} 6 | % 7 | {0} {5}JMP{7} {10}@label{1} 8 | % Absolute reference (does not use PREFIX) 9 | {0} {5}JMP{7} {10}:label{1} 10 | % In register list so treated as register 11 | {0} {5}JMP{7} {13}:rA{1} 12 | % Too long for buffer so truncated 13 | {0} {5}JMP{7} {10}l1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890{1} 14 | % Too long for buffer so truncated then treated as absolute 15 | {0} {5}JMP{7} {10}:l1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890{1} 16 | % 17 | -------------------------------------------------------------------------------- /lexilla/test/examples/mmixal/x.mms: -------------------------------------------------------------------------------- 1 | % Some example code 2 | 3 | % Set the address of the program initially to 0x100. 4 | LOC #100 5 | 6 | Main GETA $255,string 7 | 8 | TRAP 0,Fputs,StdOut 9 | 10 | TRAP 0,Halt,0 11 | 12 | string BYTE "Hello, world!",#a,0 13 | -------------------------------------------------------------------------------- /lexilla/test/examples/mmixal/x.mms.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 % Some example code 2 | 0 400 0 3 | 0 400 0 % Set the address of the program initially to 0x100. 4 | 0 400 0 LOC #100 5 | 0 400 0 6 | 0 400 0 Main GETA $255,string 7 | 0 400 0 8 | 0 400 0 TRAP 0,Fputs,StdOut 9 | 0 400 0 10 | 0 400 0 TRAP 0,Halt,0 11 | 0 400 0 12 | 0 400 0 string BYTE "Hello, world!",#a,0 13 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/mmixal/x.mms.styled: -------------------------------------------------------------------------------- 1 | {1}% Some example code 2 | {0} 3 | {1}% Set the address of the program initially to 0x100. 4 | {0} {5}LOC{7} {14}#100{1} 5 | {0} 6 | {2}Main{4} {5}GETA{7} {13}$255{15},{10}string{1} 7 | {0} 8 | {5}TRAP{7} {9}0{15},{16}Fputs{15},{16}StdOut{1} 9 | {0} 10 | {5}TRAP{7} {9}0{15},{10}Halt{15},{9}0{1} 11 | {0} 12 | {2}string{4} {5}BYTE{7} {12}"Hello, world!"{15},{14}#a{15},{9}0{1} 13 | -------------------------------------------------------------------------------- /lexilla/test/examples/modula/128Endless.m3: -------------------------------------------------------------------------------- 1 | (* This file caused an infinite loop in the folder before #128 was fixed.*) 2 | MODULE Form; 3 | IMPORT 4 | 5 | PROCEDURE (bf: ButtonForm) InitializeComponent(), NEW; 6 | BEGIN 7 | bf.SuspendLayout(); 8 | REGISTER(bf.button1.Click, bf.button1_Click); 9 | bf.get_Controls().Add(bf.button2); 10 | END InitializeComponent; 11 | 12 | BEGIN 13 | NEW(bf); 14 | Wfm.Application.Run(bf); 15 | END Form. 16 | -------------------------------------------------------------------------------- /lexilla/test/examples/modula/128Endless.m3.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 (* This file caused an infinite loop in the folder before #128 was fixed.*) 2 | 0 400 400 MODULE Form; 3 | 0 400 400 IMPORT 4 | 1 400 400 5 | 0 400 400 PROCEDURE (bf: ButtonForm) InitializeComponent(), NEW; 6 | 2 400 401 + BEGIN 7 | 0 401 401 | bf.SuspendLayout(); 8 | 0 401 401 | REGISTER(bf.button1.Click, bf.button1_Click); 9 | 0 401 401 | bf.get_Controls().Add(bf.button2); 10 | 0 401 400 | END InitializeComponent; 11 | 1 400 400 12 | 2 400 401 + BEGIN 13 | 0 401 401 | NEW(bf); 14 | 0 401 401 | Wfm.Application.Run(bf); 15 | 0 401 400 | END Form. 16 | 1 400 400 -------------------------------------------------------------------------------- /lexilla/test/examples/modula/128Endless.m3.styled: -------------------------------------------------------------------------------- 1 | {1}(* This file caused an infinite loop in the folder before #128 was fixed.*){0} 2 | {4}MODULE{0} Form{16};{0} 3 | {4}IMPORT{0} 4 | 5 | {4}PROCEDURE{0} {16}({0}bf{16}:{0} ButtonForm{16}){0} InitializeComponent{16}(),{0} {5}NEW{16};{0} 6 | {4}BEGIN{0} 7 | bf{16}.{0}SuspendLayout{16}();{0} 8 | REGISTER{16}({0}bf{16}.{0}button1{16}.{0}Click{16},{0} bf{16}.{0}button1_Click{16});{0} 9 | bf{16}.{0}get_Controls{16}().{0}Add{16}({0}bf{16}.{0}button2{16});{0} 10 | {4}END{0} InitializeComponent{16};{0} 11 | 12 | {4}BEGIN{0} 13 | {5}NEW{16}({0}bf{16});{0} 14 | Wfm{16}.{0}Application{16}.{0}Run{16}({0}bf{16});{0} 15 | {4}END{0} Form{16}.{0} 16 | -------------------------------------------------------------------------------- /lexilla/test/examples/modula/Issue129.m3: -------------------------------------------------------------------------------- 1 | INTERFACE Test; 2 | 3 | TYPE 4 | (* Opaque types *) 5 | HANDLE = ADDRESS; 6 | HMOD(* Module handle *) = HANDLE; 7 | 8 | END Test. 9 | -------------------------------------------------------------------------------- /lexilla/test/examples/modula/Issue129.m3.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 INTERFACE Test; 2 | 1 400 400 3 | 0 400 400 TYPE 4 | 0 400 400 (* Opaque types *) 5 | 0 400 400 HANDLE = ADDRESS; 6 | 0 400 400 HMOD(* Module handle *) = HANDLE; 7 | 1 400 400 8 | 0 400 3ff END Test. 9 | 1 3ff 3ff -------------------------------------------------------------------------------- /lexilla/test/examples/modula/Issue129.m3.styled: -------------------------------------------------------------------------------- 1 | {4}INTERFACE{0} Test{16};{0} 2 | 3 | {4}TYPE{0} 4 | {1}(* Opaque types *){0} 5 | HANDLE {16}={0} {5}ADDRESS{16};{0} 6 | HMOD{1}(* Module handle *){0} {16}={0} HANDLE{16};{0} 7 | 8 | {4}END{0} Test{16}.{0} 9 | -------------------------------------------------------------------------------- /lexilla/test/examples/mssql/AllStyles.tsql: -------------------------------------------------------------------------------- 1 | -- Enumerate all styles: 0 to 16 2 | 3 | /* block comment = 1*/ 4 | 5 | -- whitespace = 0 6 | -- spaces 7 | 8 | -- line comment = 2 9 | 10 | -- number = 3 11 | 376 12 | 13 | -- string = 4 14 | 'a string' 15 | 16 | -- operator = 5 17 | () 18 | INTERSECT 19 | 20 | -- identifier = 6 21 | ProductID; 22 | 23 | -- variable = 7 24 | @Variable; 25 | 26 | -- column name = 8 27 | "COLUMN"; 28 | 29 | -- statement = 9 30 | PRINT 31 | 32 | -- datatype = 10 33 | int 34 | 35 | -- systable = 11 36 | sysobjects 37 | 38 | -- global variable = 12 39 | @@ERROR 40 | 41 | -- function = 13 42 | object_id 43 | 44 | -- stored procedure = 14 45 | sp_fulltext_database 46 | 47 | -- default (preferencing data type) = 15 48 | x -- 49 | 50 | -- column name 2 = 16 51 | [COLUMN]; 52 | 53 | -------------------------------------------------------------------------------- /lexilla/test/examples/mssql/Issue87.tsql: -------------------------------------------------------------------------------- 1 | /** 2 | /* 3 | GitHub Issue 87 4 | /* 5 | /****** Object: Table [dbo].[Issue87] Script Date: 04/06/2022 8:07:57 PM ******/ 6 | */ 7 | */ 8 | */ 9 | -------------------------------------------------------------------------------- /lexilla/test/examples/mssql/Issue87.tsql.folded: -------------------------------------------------------------------------------- 1 | 2 400 0 + /** 2 | 0 401 0 | /* 3 | 0 401 0 | GitHub Issue 87 4 | 0 401 0 | /* 5 | 0 401 0 | /****** Object: Table [dbo].[Issue87] Script Date: 04/06/2022 8:07:57 PM ******/ 6 | 0 401 0 | */ 7 | 0 401 0 | */ 8 | 0 401 0 | */ 9 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/mssql/Issue87.tsql.styled: -------------------------------------------------------------------------------- 1 | {1}/** 2 | /* 3 | GitHub Issue 87 4 | /* 5 | /****** Object: Table [dbo].[Issue87] Script Date: 04/06/2022 8:07:57 PM ******/ 6 | */ 7 | */ 8 | */{0} 9 | -------------------------------------------------------------------------------- /lexilla/test/examples/mssql/Issue90.tsql: -------------------------------------------------------------------------------- 1 | CREATE TABLE TestTable ( 2 | col 3 | CHAR(3) 4 | ); 5 | -------------------------------------------------------------------------------- /lexilla/test/examples/mssql/Issue90.tsql.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 CREATE TABLE TestTable ( 2 | 0 400 0 col 3 | 0 400 0 CHAR(3) 4 | 0 400 0 ); 5 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/mssql/Issue90.tsql.styled: -------------------------------------------------------------------------------- 1 | {9}CREATE{0} {9}TABLE{0} {6}TestTable{15} {5}({0} 2 | {6}col{15} 3 | {10}CHAR{5}({3}3{5}){0} 4 | {5});{0} 5 | -------------------------------------------------------------------------------- /lexilla/test/examples/mssql/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.tsql=mssql 2 | fold=1 3 | fold.comment=1 4 | 5 | # statement 6 | keywords.*.tsql=and as begin by create declare distinct drop else end exists from go if in insert into is inner \ 7 | join like not null on order print procedure return select set table use values where while 8 | 9 | # data type 10 | keywords2.*.tsql=char int 11 | 12 | # System table 13 | keywords3.*.tsql=sysobjects 14 | 15 | # global variables 16 | keywords4.*.tsql=error 17 | 18 | # functions 19 | keywords5.*.tsql=ascii char object_id 20 | 21 | # System stored procedures 22 | keywords6.*.tsql=sp_fulltext_database 23 | 24 | # operators 25 | keywords7.*.tsql=intersect 26 | -------------------------------------------------------------------------------- /lexilla/test/examples/nim/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.nim=nim 2 | keywords.*.nim=else end if let proc 3 | -------------------------------------------------------------------------------- /lexilla/test/examples/perl/x.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | while ( $r ) { 3 | printf ( "Example text \n" ); 4 | sleep 1; 5 | } -------------------------------------------------------------------------------- /lexilla/test/examples/perl/x.pl.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 use strict; 2 | 2 400 401 + while ( $r ) { 3 | 0 401 401 | printf ( "Example text \n" ); 4 | 0 401 401 | sleep 1; 5 | 0 401 0 | } -------------------------------------------------------------------------------- /lexilla/test/examples/perl/x.pl.styled: -------------------------------------------------------------------------------- 1 | {5}use{0} {11}strict{10};{0} 2 | {5}while{0} {10}({0} {12}$r{0} {10}){0} {10}{{0} 3 | {5}printf{0} {10}({0} {6}"Example text \n"{0} {10});{0} 4 | {5}sleep{0} {4}1{10};{0} 5 | {10}} -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/CharacterTruncation.ps1: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Show problem with character value truncation causing U+0121 'ġ' (LATIN SMALL LETTER G WITH DOT ABOVE) 3 | # to be styled as an operator as static_cast(0x121) = 0x21 == '!' which is an operator 4 | 5 | # Isolate 6 | ġ 7 | 8 | # Continuing from operator 9 | (ġ) 10 | -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/CharacterTruncation.ps1.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 # -*- coding: utf-8 -*- 2 | 0 400 400 # Show problem with character value truncation causing U+0121 'ġ' (LATIN SMALL LETTER G WITH DOT ABOVE) 3 | 0 400 400 # to be styled as an operator as static_cast(0x121) = 0x21 == '!' which is an operator 4 | 1 400 400 5 | 0 400 400 # Isolate 6 | 0 400 400 ġ 7 | 1 400 400 8 | 0 400 400 # Continuing from operator 9 | 0 400 400 (ġ) 10 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/CharacterTruncation.ps1.styled: -------------------------------------------------------------------------------- 1 | {1}# -*- coding: utf-8 -*-{0} 2 | {1}# Show problem with character value truncation causing U+0121 'ġ' (LATIN SMALL LETTER G WITH DOT ABOVE){0} 3 | {1}# to be styled as an operator as static_cast(0x121) = 0x21 == '!' which is an operator{0} 4 | 5 | {1}# Isolate{0} 6 | {7}ġ{0} 7 | 8 | {1}# Continuing from operator{0} 9 | {6}({7}ġ{6}){0} 10 | -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/NumericLiterals.ps1: -------------------------------------------------------------------------------- 1 | # Treat any leading [-+] as default to reduce match complexity 2 | # https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_numeric_literals?view=powershell-7.3#examples 3 | 100 4 | 100u 5 | 100D 6 | 100l 7 | 100uL 8 | 100us 9 | 100uy 10 | 100y 11 | 1e2 12 | 1.e2 13 | 0x1e2 14 | 0x1e2L 15 | 0x1e2D 16 | 482D 17 | 482gb 18 | 482ngb 19 | 0x1e2lgb 20 | 0b1011011 21 | 0xFFFFs 22 | 0xFFFFFFFF 23 | -0xFFFFFFFF 24 | 0xFFFFFFFFu 25 | 26 | # Float 27 | 0.5 28 | .5 29 | 30 | # Range 31 | 1..100 32 | 33 | # Issue118: 7d is numeric while 7z is user defined keyword 34 | 7d 35 | 7z 36 | -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/NumericLiterals.ps1.styled: -------------------------------------------------------------------------------- 1 | {1}# Treat any leading [-+] as default to reduce match complexity{0} 2 | {1}# https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_numeric_literals?view=powershell-7.3#examples{0} 3 | {4}100{0} 4 | {4}100u{0} 5 | {4}100D{0} 6 | {4}100l{0} 7 | {4}100uL{0} 8 | {4}100us{0} 9 | {4}100uy{0} 10 | {4}100y{0} 11 | {4}1e2{0} 12 | {4}1.e2{0} 13 | {4}0x1e2{0} 14 | {4}0x1e2L{0} 15 | {4}0x1e2D{0} 16 | {4}482D{0} 17 | {4}482gb{0} 18 | {4}482ngb{0} 19 | {4}0x1e2lgb{0} 20 | {4}0b1011011{0} 21 | {4}0xFFFFs{0} 22 | {4}0xFFFFFFFF{0} 23 | {6}-{4}0xFFFFFFFF{0} 24 | {4}0xFFFFFFFFu{0} 25 | 26 | {1}# Float{0} 27 | {4}0.5{0} 28 | {4}.5{0} 29 | 30 | {1}# Range{0} 31 | {4}1{6}..{4}100{0} 32 | 33 | {1}# Issue118: 7d is numeric while 7z is user defined keyword{0} 34 | {4}7d{0} 35 | {12}7z{0} 36 | -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/Pull92.ps1: -------------------------------------------------------------------------------- 1 | <# Tests for PowerShell #> 2 | 3 | <# Backticks should escape in double quoted strings #> 4 | $double_quote_str_esc_1 = "`"XXX`"" 5 | $double_quote_str_esc_2 = "This `"string`" `$useses `r`n Backticks '``'" 6 | 7 | <# Backticks should be ignored in quoted strings #> 8 | $single_quote_str_esc_1 = 'XXX`' 9 | $single_quote_str_esc_2 = 'XXX```' 10 | -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/Pull92.ps1.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 <# Tests for PowerShell #> 2 | 1 400 400 3 | 0 400 400 <# Backticks should escape in double quoted strings #> 4 | 0 400 400 $double_quote_str_esc_1 = "`"XXX`"" 5 | 0 400 400 $double_quote_str_esc_2 = "This `"string`" `$useses `r`n Backticks '``'" 6 | 1 400 400 7 | 0 400 400 <# Backticks should be ignored in quoted strings #> 8 | 0 400 400 $single_quote_str_esc_1 = 'XXX`' 9 | 0 400 400 $single_quote_str_esc_2 = 'XXX```' 10 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/Pull92.ps1.styled: -------------------------------------------------------------------------------- 1 | {13}<# Tests for PowerShell #>{0} 2 | 3 | {13}<# Backticks should escape in double quoted strings #>{0} 4 | {5}$double_quote_str_esc_1{0} {6}={0} {2}"`"XXX`""{0} 5 | {5}$double_quote_str_esc_2{0} {6}={0} {2}"This `"string`" `$useses `r`n Backticks '``'"{0} 6 | 7 | {13}<# Backticks should be ignored in quoted strings #>{0} 8 | {5}$single_quote_str_esc_1{0} {6}={0} {3}'XXX`'{0} 9 | {5}$single_quote_str_esc_2{0} {6}={0} {3}'XXX```'{0} 10 | -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/Pull99Comment.ps1: -------------------------------------------------------------------------------- 1 | # End comment before \r carriage return. 2 | -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/Pull99Comment.ps1.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 # End comment before \r carriage return. 2 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/Pull99Comment.ps1.styled: -------------------------------------------------------------------------------- 1 | {1}# End comment before \r carriage return.{0} 2 | -------------------------------------------------------------------------------- /lexilla/test/examples/powershell/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.ps1=powershell 2 | fold=1 3 | 4 | keywords.*.ps1=break if else in local 5 | keywords2.*.ps1=write-host write-output 6 | keywords3.*.ps1=cd chdir cat 7 | keywords4.*.ps1=mkdir prompt get-verb 8 | keywords5.*.ps1=lexilla 7z 9 | keywords6.*.ps1=synopsis 10 | -------------------------------------------------------------------------------- /lexilla/test/examples/props/Issue96Folding.props: -------------------------------------------------------------------------------- 1 | ; comment 2 | [empty section] 3 | [normal section] 4 | @=default 5 | key=value 6 | -------------------------------------------------------------------------------- /lexilla/test/examples/props/Issue96Folding.props.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 ; comment 2 | 0 400 0 [empty section] 3 | 2 400 0 + [normal section] 4 | 0 401 0 | @=default 5 | 0 401 0 | key=value 6 | 0 401 0 | -------------------------------------------------------------------------------- /lexilla/test/examples/props/Issue96Folding.props.styled: -------------------------------------------------------------------------------- 1 | {1}; comment 2 | {2}[empty section] 3 | [normal section] 4 | {4}@{0}=default 5 | {5}key{3}={0}value 6 | -------------------------------------------------------------------------------- /lexilla/test/examples/props/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.session=props 2 | lexer.*.props=props 3 | fold=1 4 | -------------------------------------------------------------------------------- /lexilla/test/examples/props/example.session: -------------------------------------------------------------------------------- 1 | # Default=0 2 | a 3 | 4 | # Comment=1 5 | 6 | 7 | # Heading=2 8 | [heading] 9 | 10 | 11 | # Assignment=3 12 | = 13 | 14 | # Default Value=4 15 | @ 16 | 17 | # Key=5 18 | key= 19 | 20 | -------------------------------------------------------------------------------- /lexilla/test/examples/props/example.session.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 # Default=0 2 | 0 400 0 a 3 | 1 400 0 4 | 0 400 0 # Comment=1 5 | 1 400 0 6 | 1 400 0 7 | 0 400 0 # Heading=2 8 | 2 400 0 + [heading] 9 | 1 401 0 | 10 | 1 401 0 | 11 | 0 401 0 | # Assignment=3 12 | 0 401 0 | = 13 | 1 401 0 | 14 | 0 401 0 | # Default Value=4 15 | 0 401 0 | @ 16 | 1 401 0 | 17 | 0 401 0 | # Key=5 18 | 0 401 0 | key= 19 | 1 401 0 | 20 | 0 401 0 | -------------------------------------------------------------------------------- /lexilla/test/examples/props/example.session.styled: -------------------------------------------------------------------------------- 1 | {1}# Default=0 2 | {0}a 3 | 4 | {1}# Comment=1 5 | {0} 6 | 7 | {1}# Heading=2 8 | {2}[heading] 9 | {0} 10 | 11 | {1}# Assignment=3 12 | {3}={0} 13 | 14 | {1}# Default Value=4 15 | {4}@{0} 16 | 17 | {1}# Key=5 18 | {5}key{3}={0} 19 | 20 | -------------------------------------------------------------------------------- /lexilla/test/examples/python/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.py=python 2 | keywords.*.py=case class def else for if import in match pass print return while with yield 3 | keywords2.*.py=hilight 4 | fold=1 5 | fold.compact=1 6 | -------------------------------------------------------------------------------- /lexilla/test/examples/python/attributes/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.py=python 2 | keywords.*.py=class def else for if import in pass print return while with yield 3 | keywords2.*.py=hilight 4 | fold=1 5 | fold.compact=1 6 | lexer.python.identifier.attributes=1 7 | lexer.python.decorator.attributes=1 8 | 9 | substyles.python.11=3 10 | substylewords.11.3.$(file.patterns.py)=findall replace 11 | style.python.11.3=fore:#EEAA80,italics,bold 12 | -------------------------------------------------------------------------------- /lexilla/test/examples/python/attributes/attributes.py: -------------------------------------------------------------------------------- 1 | # attributes=20 2 | s = "thing thing".findall("thing") 3 | a.very.complicated.expression.findall("test") 4 | # fake out. 5 | b.very.complicated.expression. 6 | findall("test2") 7 | c.very.complicated.expression. \ 8 | findall("test3") 9 | d.very.complicated.expression.\ 10 | findall("test4") 11 | @staticmethod.attrtest 12 | @staticmethod. 13 | attrtest 14 | @staticmethod. \ 15 | attrtest 16 | @staticmethod.\ 17 | attrtest 18 | -------------------------------------------------------------------------------- /lexilla/test/examples/python/attributes/attributes.py.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 # attributes=20 2 | 0 400 0 s = "thing thing".findall("thing") 3 | 0 400 0 a.very.complicated.expression.findall("test") 4 | 0 400 0 # fake out. 5 | 2 400 0 + b.very.complicated.expression. 6 | 0 404 0 | findall("test2") 7 | 2 400 0 + c.very.complicated.expression. \ 8 | 0 404 0 | findall("test3") 9 | 2 400 0 + d.very.complicated.expression.\ 10 | 0 404 0 | findall("test4") 11 | 0 400 0 @staticmethod.attrtest 12 | 0 400 0 @staticmethod. 13 | 0 400 0 attrtest 14 | 0 400 0 @staticmethod. \ 15 | 0 400 0 attrtest 16 | 0 400 0 @staticmethod.\ 17 | 0 400 0 attrtest 18 | 1 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/python/attributes/attributes.py.styled: -------------------------------------------------------------------------------- 1 | {1}# attributes=20{0} 2 | {11}s{0} {10}={0} {3}"thing thing"{10}.{20}findall{10}({3}"thing"{10}){0} 3 | {11}a{10}.{20}very{10}.{20}complicated{10}.{20}expression{10}.{20}findall{10}({3}"test"{10}){0} 4 | {1}# fake out.{0} 5 | {11}b{10}.{20}very{10}.{20}complicated{10}.{20}expression{10}.{0} 6 | {20}findall{10}({3}"test2"{10}){0} 7 | {11}c{10}.{20}very{10}.{20}complicated{10}.{20}expression{10}.{0} \ 8 | {20}findall{10}({3}"test3"{10}){0} 9 | {11}d{10}.{20}very{10}.{20}complicated{10}.{20}expression{10}.{0}\ 10 | {20}findall{10}({3}"test4"{10}){0} 11 | {15}@staticmethod{10}.{15}attrtest{0} 12 | {15}@staticmethod{10}.{0} 13 | {15}attrtest{0} 14 | {15}@staticmethod{10}.{0} \ 15 | {15}attrtest{0} 16 | {15}@staticmethod{10}.{0}\ 17 | {15}attrtest{0} 18 | -------------------------------------------------------------------------------- /lexilla/test/examples/python/matchcase.py: -------------------------------------------------------------------------------- 1 | # Match and case as keywords 2 | match (x): 3 | case +1: 4 | pass 5 | case -1: 6 | pass 7 | case []: 8 | pass 9 | 10 | # Match and case as identifiers 11 | match = 1 12 | def match(): 13 | pass 14 | match.group() 15 | 1 + match 16 | case.attribute 17 | 18 | # Unfortunately wrong classifications; should be rare in real code because 19 | # non-call expressions usually don't begin lines, the exceptions are match(x) 20 | # and case(x) 21 | match(x) 22 | case(x) 23 | match + 1 24 | case + 1 25 | case[1] 26 | -------------------------------------------------------------------------------- /lexilla/test/examples/python/x.py: -------------------------------------------------------------------------------- 1 | # Convert all punctuation characters except '_', '*', and '.' into spaces. 2 | def depunctuate(s): 3 | '''A docstring''' 4 | """Docstring 2""" 5 | d = "" 6 | for ch in s: 7 | if ch in 'abcde': 8 | d = d + ch 9 | else: 10 | d = d + " " 11 | return d 12 | 13 | import contextlib 14 | 15 | @contextlib.contextmanager 16 | def singleuse(): 17 | print("Before") 18 | yield 19 | with singleuse(): pass 20 | -------------------------------------------------------------------------------- /lexilla/test/examples/python/x.py.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 # Convert all punctuation characters except '_', '*', and '.' into spaces. 2 | 2 400 0 + def depunctuate(s): 3 | 0 408 0 | '''A docstring''' 4 | 0 408 0 | """Docstring 2""" 5 | 0 408 0 | d = "" 6 | 2 408 0 + for ch in s: 7 | 2 410 0 + if ch in 'abcde': 8 | 0 418 0 | d = d + ch 9 | 2 410 0 + else: 10 | 0 418 0 | d = d + " " 11 | 0 408 0 | return d 12 | 1 400 0 13 | 0 400 0 import contextlib 14 | 1 400 0 15 | 0 400 0 @contextlib.contextmanager 16 | 2 400 0 + def singleuse(): 17 | 0 408 0 | print("Before") 18 | 0 408 0 | yield 19 | 0 400 0 with singleuse(): pass 20 | 1 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/python/x.py.styled: -------------------------------------------------------------------------------- 1 | {1}# Convert all punctuation characters except '_', '*', and '.' into spaces.{0} 2 | {5}def{0} {9}depunctuate{10}({11}s{10}):{0} 3 | {6}'''A docstring'''{0} 4 | {7}"""Docstring 2"""{0} 5 | {11}d{0} {10}={0} {3}""{0} 6 | {5}for{0} {11}ch{0} {5}in{0} {11}s{10}:{0} 7 | {5}if{0} {11}ch{0} {5}in{0} {4}'abcde'{10}:{0} 8 | {11}d{0} {10}={0} {11}d{0} {10}+{0} {11}ch{0} 9 | {5}else{10}:{0} 10 | {11}d{0} {10}={0} {11}d{0} {10}+{0} {3}" "{0} 11 | {5}return{0} {11}d{0} 12 | 13 | {5}import{0} {11}contextlib{0} 14 | 15 | {15}@contextlib{10}.{11}contextmanager{0} 16 | {5}def{0} {9}singleuse{10}():{0} 17 | {5}print{10}({3}"Before"{10}){0} 18 | {5}yield{0} 19 | {5}with{0} {11}singleuse{10}():{0} {5}pass{0} 20 | -------------------------------------------------------------------------------- /lexilla/test/examples/r/102Backticks.r: -------------------------------------------------------------------------------- 1 | # ugly code to demonstrate multiline string. 2 | `Hello 3 | World` <- function(x, y, z) { 4 | print(x); 5 | print(y); 6 | print(z); 7 | } 8 | `Hello\nWorld`("Hello\nMoon!", "Hello 9 | Venus", 'Hello\ 10 | Mars'); 11 | -------------------------------------------------------------------------------- /lexilla/test/examples/r/102Backticks.r.folded: -------------------------------------------------------------------------------- 1 | 0 400 400 # ugly code to demonstrate multiline string. 2 | 0 400 400 `Hello 3 | 2 400 401 + World` <- function(x, y, z) { 4 | 0 401 401 | print(x); 5 | 0 401 401 | print(y); 6 | 0 401 401 | print(z); 7 | 0 401 400 | } 8 | 0 400 400 `Hello\nWorld`("Hello\nMoon!", "Hello 9 | 0 400 400 Venus", 'Hello\ 10 | 0 400 400 Mars'); 11 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/r/102Backticks.r.styled: -------------------------------------------------------------------------------- 1 | {1}# ugly code to demonstrate multiline string.{0} 2 | {12}`Hello 3 | World`{0} {8}<-{0} {9}function{8}({9}x{0}, {9}y{0}, {9}z{8}){0} {8}{{0} 4 | {9}print{8}({9}x{8}){0}; 5 | {9}print{8}({9}y{8}){0}; 6 | {9}print{8}({9}z{8}){0}; 7 | {8}}{0} 8 | {12}`Hello\nWorld`{8}({6}"Hello\nMoon!"{0}, {6}"Hello 9 | Venus"{0}, {7}'Hello\ 10 | Mars'{8}){0}; 11 | -------------------------------------------------------------------------------- /lexilla/test/examples/r/SciTE.properties: -------------------------------------------------------------------------------- 1 | lexer.*.r=r 2 | keywords.*.r=if 3 | keywords2.*.r=abbreviate 4 | keywords3.*.r=acme 5 | fold=1 6 | fold.compact=1 7 | 8 | match AllStyles.r 9 | lexer.r.escape.sequence=1 10 | -------------------------------------------------------------------------------- /lexilla/test/examples/ruby/Issue132.rb: -------------------------------------------------------------------------------- 1 | # Bad folding when single character ')' in SCE_RB_STRING_QW #132 2 | %W(#{1 + 1}) 3 | 4 | -------------------------------------------------------------------------------- /lexilla/test/examples/ruby/Issue132.rb.folded: -------------------------------------------------------------------------------- 1 | 0 400 0 # Bad folding when single character ')' in SCE_RB_STRING_QW #132 2 | 0 400 0 %W(#{1 + 1}) 3 | 1 400 0 4 | 0 400 0 -------------------------------------------------------------------------------- /lexilla/test/examples/ruby/Issue132.rb.styled: -------------------------------------------------------------------------------- 1 | {2}# Bad folding when single character ')' in SCE_RB_STRING_QW #132{0} 2 | {28}%W({10}#{{4}1{0} {10}+{0} {4}1{10}}{28}){0} 3 | 4 | -------------------------------------------------------------------------------- /lexilla/test/examples/ruby/Issue135.rb: -------------------------------------------------------------------------------- 1 | a = < 10 | #include 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | #define CATCH_CONFIG_WINDOWS_CRTDBG 17 | #define CATCH_CONFIG_RUNNER 18 | #include "catch.hpp" 19 | 20 | int main(int argc, char* argv[]) { 21 | const int result = Catch::Session().run(argc, argv); 22 | 23 | return result; 24 | } 25 | -------------------------------------------------------------------------------- /lexilla/test/unit/unitTest.cxx: -------------------------------------------------------------------------------- 1 | /** @file unitTest.cxx 2 | ** Unit Tests for Lexilla internal data structures 3 | **/ 4 | 5 | /* 6 | Currently tested: 7 | WordList 8 | SparseState 9 | */ 10 | 11 | #include 12 | #include 13 | 14 | #include 15 | #include 16 | #include 17 | 18 | #if defined(__GNUC__) 19 | // Want to avoid misleading indentation warnings in catch.hpp but the pragma 20 | // may not be available so protect by turning off pragma warnings 21 | #pragma GCC diagnostic ignored "-Wunknown-pragmas" 22 | #pragma GCC diagnostic ignored "-Wpragmas" 23 | #if !defined(__clang__) 24 | #pragma GCC diagnostic ignored "-Wmisleading-indentation" 25 | #endif 26 | #endif 27 | 28 | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file 29 | #include "catch.hpp" 30 | -------------------------------------------------------------------------------- /lexilla/tgzsrc: -------------------------------------------------------------------------------- 1 | cd .. 2 | rm -f lexilla.tgz 3 | tar --create --exclude \*.o --exclude \*.obj --exclude \*.dll --exclude \*.so --exclude \*.exe --exclude \*.a lexilla/* \ 4 | | gzip -c >lexilla.tgz 5 | -------------------------------------------------------------------------------- /lexilla/version.txt: -------------------------------------------------------------------------------- 1 | 526 -------------------------------------------------------------------------------- /lexilla/zipsrc.bat: -------------------------------------------------------------------------------- 1 | cd .. 2 | del/q lexilla.zip 3 | zip lexilla.zip lexilla\*.* lexilla\*\*.* lexilla\*\*\*.* lexilla\*\*\*\*.* lexilla\*\*\*\*\*.* ^ 4 | -x *.bak *.o *.obj *.iobj *.dll *.exe *.a *.lib *.res *.exp *.sarif *.pdb *.ipdb *.idb *.sbr *.ilk *.tgz ^ 5 | **/__pycache__/* **/Debug/* **/Release/* **/x64/* **/ARM64/* **/cov-int/* **/.vs/* **/.vscode/* @ 6 | cd lexilla 7 | -------------------------------------------------------------------------------- /scintilla/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [**] 4 | indent_style = tab 5 | -------------------------------------------------------------------------------- /scintilla/.hg_archival.txt: -------------------------------------------------------------------------------- 1 | repo: bdf8c3ef2fb01ea24578e726337888e706d10b92 2 | node: 61ad270164c7a555c15cef9d959ca06d08b81d7b 3 | branch: default 4 | latesttag: rel-5-3-6 5 | latesttagdistance: 1 6 | changessincelatesttag: 1 7 | -------------------------------------------------------------------------------- /scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /scintilla/cocoa/Scintilla/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module Scintilla { 2 | umbrella header "ScintillaView.h" 3 | module InfoBar { 4 | header "InfoBar.h" 5 | } 6 | // ILexer.h is not included as Swift doesn't yet interoperate with C++ 7 | exclude header "ILexer.h" 8 | export * 9 | module * { export * } 10 | } 11 | -------------------------------------------------------------------------------- /scintilla/cocoa/ScintillaTest/Scintilla-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.sun.${PRODUCT_NAME:identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | FMWK 15 | CFBundleSignature 16 | ???? 17 | CFBundleVersion 18 | 1.0 19 | 20 | 21 | -------------------------------------------------------------------------------- /scintilla/cocoa/ScintillaTest/ScintillaTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /scintilla/cocoa/ScintillaTest/ScintillaTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /scintilla/cocoa/ScintillaTest/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/cocoa/ScintillaTest/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /scintilla/cocoa/ScintillaTest/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * main.m 3 | * ScintillaTest 4 | * 5 | * Created by Mike Lischke on 02.04.09. 6 | * Copyright Sun Microsystems, Inc 2009. All rights reserved. 7 | * This file is dual licensed under LGPL v2.1 and the Scintilla license (http://www.scintilla.org/License.txt). 8 | */ 9 | 10 | #import 11 | 12 | int main(int argc, char *argv[]) 13 | { 14 | return NSApplicationMain(argc, (const char **) argv); 15 | } 16 | -------------------------------------------------------------------------------- /scintilla/cocoa/res/info_bar_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/cocoa/res/info_bar_bg.png -------------------------------------------------------------------------------- /scintilla/cocoa/res/info_bar_bg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/cocoa/res/info_bar_bg@2x.png -------------------------------------------------------------------------------- /scintilla/cocoa/res/mac_cursor_busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/cocoa/res/mac_cursor_busy.png -------------------------------------------------------------------------------- /scintilla/cocoa/res/mac_cursor_busy@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/cocoa/res/mac_cursor_busy@2x.png -------------------------------------------------------------------------------- /scintilla/cocoa/res/mac_cursor_flipped.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/cocoa/res/mac_cursor_flipped.png -------------------------------------------------------------------------------- /scintilla/cocoa/res/mac_cursor_flipped@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/cocoa/res/mac_cursor_flipped@2x.png -------------------------------------------------------------------------------- /scintilla/delbin.bat: -------------------------------------------------------------------------------- 1 | @del /S /Q *.a *.aps *.bsc *.dll *.dsw *.exe *.idb *.ilc *.ild *.ilf *.ilk *.ils *.lib *.map *.ncb *.obj *.o *.opt *.ipdb *.pdb *.plg *.res *.sbr *.tds *.exp *.tlog *.lastbuildstate >NUL: 2 | -------------------------------------------------------------------------------- /scintilla/doc/ChangeHistory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/ChangeHistory.png -------------------------------------------------------------------------------- /scintilla/doc/Indicators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/Indicators.png -------------------------------------------------------------------------------- /scintilla/doc/Markers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/Markers.png -------------------------------------------------------------------------------- /scintilla/doc/SciBreak.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/SciBreak.jpg -------------------------------------------------------------------------------- /scintilla/doc/SciRest.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/SciRest.jpg -------------------------------------------------------------------------------- /scintilla/doc/SciTEIco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/SciTEIco.png -------------------------------------------------------------------------------- /scintilla/doc/SciWord.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/SciWord.jpg -------------------------------------------------------------------------------- /scintilla/doc/ScintillaLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/ScintillaLogo.png -------------------------------------------------------------------------------- /scintilla/doc/ScintillaLogo2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/ScintillaLogo2x.png -------------------------------------------------------------------------------- /scintilla/doc/StadiumVariants.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/StadiumVariants.png -------------------------------------------------------------------------------- /scintilla/doc/annotations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/annotations.png -------------------------------------------------------------------------------- /scintilla/doc/eolannotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/eolannotation.png -------------------------------------------------------------------------------- /scintilla/doc/styledmargin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/doc/styledmargin.png -------------------------------------------------------------------------------- /scintilla/gtk/DepGen.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # DepGen.py - produce a make dependencies file for Scintilla 3 | # Copyright 2019 by Neil Hodgson 4 | # The License.txt file describes the conditions under which this software may be distributed. 5 | # Requires Python 3.6 or later 6 | 7 | import sys 8 | 9 | sys.path.append("..") 10 | 11 | from scripts import Dependencies 12 | 13 | topComment = "# Created by DepGen.py. To recreate, run DepGen.py.\n" 14 | 15 | def Generate(): 16 | sources = ["../src/*.cxx"] 17 | includes = ["../include", "../src"] 18 | 19 | deps = Dependencies.FindDependencies(["../gtk/*.cxx"] + sources, ["../gtk"] + includes, ".o", "../gtk/") 20 | Dependencies.UpdateDependencies("../gtk/deps.mak", deps, topComment) 21 | 22 | if __name__ == "__main__": 23 | Generate() -------------------------------------------------------------------------------- /scintilla/gtk/scintilla-marshal.list: -------------------------------------------------------------------------------- 1 | VOID:INT,OBJECT 2 | VOID:INT,BOXED 3 | -------------------------------------------------------------------------------- /scintilla/include/ILoader.h: -------------------------------------------------------------------------------- 1 | // Scintilla source code edit control 2 | /** @file ILoader.h 3 | ** Interface for loading into a Scintilla document from a background thread. 4 | **/ 5 | // Copyright 1998-2017 by Neil Hodgson 6 | // The License.txt file describes the conditions under which this software may be distributed. 7 | 8 | #ifndef ILOADER_H 9 | #define ILOADER_H 10 | 11 | #include "Sci_Position.h" 12 | 13 | namespace Scintilla { 14 | 15 | class ILoader { 16 | public: 17 | virtual int SCI_METHOD Release() = 0; 18 | // Returns a status code from SC_STATUS_* 19 | virtual int SCI_METHOD AddData(const char *data, Sci_Position length) = 0; 20 | virtual void * SCI_METHOD ConvertToDocument() = 0; 21 | }; 22 | 23 | } 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /scintilla/scripts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BeneficialCode/KReClassEx/ec00277be045a40fddb51c13f290d2e73e8b7858/scintilla/scripts/__init__.py -------------------------------------------------------------------------------- /scintilla/scripts/archive.sh: -------------------------------------------------------------------------------- 1 | # Up to parent directory of scintilla 2 | cd ../.. 3 | 4 | # Archive Scintilla to scintilla.tgz 5 | hg archive --repository scintilla scintilla.tgz 6 | -------------------------------------------------------------------------------- /scintilla/src/DBCS.h: -------------------------------------------------------------------------------- 1 | // Scintilla source code edit control 2 | /** @file DBCS.h 3 | ** Functions to handle DBCS double byte encodings like Shift-JIS. 4 | **/ 5 | // Copyright 2017 by Neil Hodgson 6 | // The License.txt file describes the conditions under which this software may be distributed. 7 | 8 | #ifndef DBCS_H 9 | #define DBCS_H 10 | 11 | namespace Scintilla::Internal { 12 | 13 | constexpr bool IsDBCSCodePage(int codePage) noexcept { 14 | return codePage == 932 15 | || codePage == 936 16 | || codePage == 949 17 | || codePage == 950 18 | || codePage == 1361; 19 | } 20 | 21 | bool DBCSIsLeadByte(int codePage, char ch) noexcept; 22 | bool IsDBCSValidSingleByte(int codePage, int ch) noexcept; 23 | 24 | } 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /scintilla/src/Position.h: -------------------------------------------------------------------------------- 1 | // Scintilla source code edit control 2 | /** @file Position.h 3 | ** Defines global type name Position in the Sci internal namespace. 4 | **/ 5 | // Copyright 2015 by Neil Hodgson 6 | // The License.txt file describes the conditions under which this software may be distributed. 7 | 8 | #ifndef POSITION_H 9 | #define POSITION_H 10 | 11 | /** 12 | * A Position is a position within a document between two characters or at the beginning or end. 13 | * Sometimes used as a character index where it identifies the character after the position. 14 | * A Line is a document or screen line. 15 | */ 16 | 17 | namespace Sci { 18 | 19 | typedef ptrdiff_t Position; 20 | typedef ptrdiff_t Line; 21 | 22 | inline constexpr Position invalidPosition = -1; 23 | 24 | } 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /scintilla/src/SciTE.properties: -------------------------------------------------------------------------------- 1 | # SciTE.properties is the per directory local options file and can be used to override 2 | # settings made in SciTEGlobal.properties 3 | command.build.directory.*.cxx=..\win32 4 | command.build.directory.*.h=..\win32 5 | command.build.*.cxx=nmake -f scintilla.mak QUIET=1 6 | command.build.*.h=nmake -f scintilla.mak QUIET=1 7 | -------------------------------------------------------------------------------- /scintilla/test/XiteMenu.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from __future__ import unicode_literals 4 | 5 | """ Define the menu structure used by the Pentacle applications """ 6 | 7 | MenuStructure = [ 8 | ["&File", [ 9 | ["&New", "N"], 10 | ["&Open...", "O"], 11 | ["&Save", "S"], 12 | ["Save &As...", "S"], 13 | ["Test", ""], 14 | ["Exercised", ""], 15 | ["Uncalled", ""], 16 | ["-", ""], 17 | ["&Exit", ""]]], 18 | [ "&Edit", [ 19 | ["&Undo", "Z"], 20 | ["&Redo", "Y"], 21 | ["-", ""], 22 | ["Cu&t", "X"], 23 | ["&Copy", "C"], 24 | ["&Paste", "V"], 25 | ["&Delete", "Del"], 26 | ["Select &All", "A"], 27 | ]], 28 | ] 29 | -------------------------------------------------------------------------------- /scintilla/test/gi/filter-scintilla-h.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # Filters Scintilla.h to not contain generated stuff or deprecated defines 3 | 4 | import sys 5 | import fileinput 6 | 7 | def main(): 8 | inhibit = 0 9 | for line in fileinput.input(): 10 | if line.startswith("/* ++Autogenerated") or line.startswith("#ifdef INCLUDE_DEPRECATED_FEATURES"): 11 | inhibit += 1 12 | if inhibit == 0: 13 | sys.stdout.write(line) 14 | if line.startswith("/* --Autogenerated") or line.startswith("#endif"): 15 | if (inhibit > 0): 16 | inhibit -= 1 17 | 18 | if __name__ == "__main__": 19 | main() 20 | -------------------------------------------------------------------------------- /scintilla/test/unit/README: -------------------------------------------------------------------------------- 1 | The test/unit directory contains unit tests for Scintilla data structures. 2 | 3 | The tests can be run on Windows, macOS, or Linux using g++ and GNU make. 4 | The Catch test framework is used. 5 | https://github.com/philsquared/Catch 6 | The file catch.hpp is under the Boost Software License which is contained in LICENSE_1_0.txt 7 | 8 | To run the tests on macOS or Linux: 9 | make test 10 | 11 | To run the tests on Windows: 12 | mingw32-make test 13 | 14 | Visual C++ (2010+) and nmake can also be used on Windows: 15 | nmake -f test.mak test 16 | -------------------------------------------------------------------------------- /scintilla/test/unit/SciTE.properties: -------------------------------------------------------------------------------- 1 | command.go.*.cxx=./unitTest 2 | if PLAT_WIN 3 | make.command=mingw32-make 4 | command.go.*.cxx=unitTest 5 | command.go.needs.$(file.patterns.cplusplus)=$(make.command) 6 | -------------------------------------------------------------------------------- /scintilla/test/xite.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | # Requires Python 3.6 or later 4 | 5 | import XiteWin 6 | 7 | if __name__ == "__main__": 8 | XiteWin.main("") 9 | -------------------------------------------------------------------------------- /scintilla/tgzsrc: -------------------------------------------------------------------------------- 1 | cd .. 2 | rm -f scintilla.tgz 3 | tar --create --exclude \*.o --exclude \*.obj --exclude \*.dll --exclude \*.so --exclude \*.exe --exclude \*.a scintilla/* \ 4 | | gzip -c >scintilla.tgz 5 | -------------------------------------------------------------------------------- /scintilla/version.txt: -------------------------------------------------------------------------------- 1 | 536 2 | -------------------------------------------------------------------------------- /scintilla/win32/HanjaDic.h: -------------------------------------------------------------------------------- 1 | // Scintilla source code edit control 2 | /** @file HanjaDic.h 3 | ** Korean Hanja Dictionary 4 | ** Convert between Korean Hanja and Hangul by COM interface. 5 | **/ 6 | // Copyright 2015 by Neil Hodgson 7 | // The License.txt file describes the conditions under which this software may be distributed. 8 | 9 | #ifndef HANJADIC_H 10 | #define HANJADIC_H 11 | 12 | namespace Scintilla::Internal { 13 | 14 | namespace HanjaDict { 15 | 16 | bool GetHangulOfHanja(std::wstring &inout) noexcept; 17 | 18 | } 19 | 20 | } 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /scintilla/win32/Scintilla.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | Scintilla_DirectFunction -------------------------------------------------------------------------------- /scintilla/win32/Scintilla.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /scintilla/win32/ScintillaWin.h: -------------------------------------------------------------------------------- 1 | // Scintilla source code edit control 2 | /** @file ScintillaWin.h 3 | ** Define functions from ScintillaWin.cxx that can be called from ScintillaDLL.cxx. 4 | **/ 5 | // Copyright 1998-2018 by Neil Hodgson 6 | // The License.txt file describes the conditions under which this software may be distributed. 7 | 8 | #ifndef SCINTILLAWIN_H 9 | #define SCINTILLAWIN_H 10 | 11 | namespace Scintilla::Internal { 12 | 13 | class ScintillaWin; 14 | 15 | int ResourcesRelease(bool fromDllMain) noexcept; 16 | int RegisterClasses(void *hInstance) noexcept; 17 | Scintilla::sptr_t DirectFunction(ScintillaWin *sci, UINT iMessage, Scintilla::uptr_t wParam, Scintilla::sptr_t lParam); 18 | 19 | } 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /scintilla/zipsrc.bat: -------------------------------------------------------------------------------- 1 | cd .. 2 | del/q scintilla.zip 3 | zip scintilla.zip scintilla\*.* scintilla\*\*.* scintilla\*\*\*.* scintilla\*\*\*\*.* scintilla\*\*\*\*\*.* ^ 4 | -x *.o *.obj *.dll *.lib *.res *.exp *.bak *.tgz ^ 5 | **/__pycache__/* **/Debug/* **/Release/* **/x64/* **/ARM64/* **/cov-int/* */.hg/* @ 6 | cd scintilla 7 | --------------------------------------------------------------------------------