mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ Chg: Maintenance - delete 3 unused files
This commit is contained in:
parent
ff05e59348
commit
4da60031f1
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1,2 +0,0 @@
|
||||
*.sh text eol=lf
|
||||
*.bat text eol=crlf
|
||||
@ -1 +0,0 @@
|
||||
theme: jekyll-theme-cayman
|
||||
54
lexlink.js
54
lexlink.js
@ -1,54 +0,0 @@
|
||||
/*
|
||||
Comment lexer modules from "scintilla\src\Catalogue.cxx" not used by Notepad2
|
||||
(c) Florian Balmer 2011
|
||||
*/
|
||||
|
||||
var lex = new Array(
|
||||
"lmAHK",
|
||||
"lmAsm",
|
||||
"lmAU3",
|
||||
"lmAVS",
|
||||
"lmBash",
|
||||
"lmBatch",
|
||||
"lmCmake",
|
||||
"lmCoffeeScript",
|
||||
"lmConf",
|
||||
"lmCPP",
|
||||
"lmCss",
|
||||
"lmDiff",
|
||||
"lmHTML",
|
||||
"lmInno",
|
||||
"lmLatex",
|
||||
"lmLua",
|
||||
"lmMake",
|
||||
"lmMarkdown",
|
||||
"lmNsis",
|
||||
"lmNull",
|
||||
"lmPascal",
|
||||
"lmPerl",
|
||||
"lmPowerShell",
|
||||
"lmProps",
|
||||
"lmPython",
|
||||
"lmRuby",
|
||||
"lmSQL",
|
||||
"lmTCL",
|
||||
"lmVB",
|
||||
"lmVBScript",
|
||||
"lmXML",
|
||||
"lmYAML",
|
||||
"lmVHDL"
|
||||
);
|
||||
|
||||
var fso = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var fh = fso.OpenTextFile("scintilla\\src\\Catalogue.cxx",1,0);
|
||||
if (!fh.AtEndOfStream) {
|
||||
var str = fh.ReadAll();
|
||||
str = str.replace(
|
||||
/^(\s*)\/\/(LINK_LEXER)/gim,
|
||||
"$1$2");
|
||||
var re = new RegExp("^(\\s*)(LINK_LEXER\\((?!"+lex.join("|")+")\\w+\\);)","gim");
|
||||
str = str.replace(re,"$1//$2");
|
||||
fh.Close();
|
||||
var fh = fso.OpenTextFile("scintilla\\src\\Catalogue.cxx",2,0);
|
||||
fh.Write(str);
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user