tcm
|
Posted: Sat May 04, 2024 22:54 Post subject: |
|
|
Отличный плагин, давно такой нужен был, Спасибо!
запрос на добавление возможностей (хотелки, если у вас на них есть время ):
- добавьте возможность выбрать кодировку 866 OEM по горячей клавише (ctrl+d напирмер)
- добавьте возможность выбирать дефолтовую тему из ниспадающего списка, не зря же у вас их целая куча в папке с плагином
- добавьте синтаксис для файлов хешей в новую версию.
у себя настроил как-то так, на скорую руку:
CodeViewer.ini
 Hidden text
| Code: | [Extensions]
cfv=Hash
md5=Hash
sha=Hash
[Themes]
Hash=Twilight Hash |
Hash.json
 Hidden text
| Code: |
{
"Highlighter": {
"Sample": [
"Hash File\r\n",
"\r\n",
"# Comments \r\n",
"70966157ED382886CEEAEAC86AB0F63C *TOTALCMD.CHM\r\n",
"9F801D6B26264913EE039D09552D6F34 *TOTALCMD.EXE\r\n",
"38AF5BA1863C528D1EDAAEB1366A7DBB *TOTALCMD.EXE.MANIFEST\r\n",
"26B657A8982B1EA162462585055889F2 *TOTALCMD.INC\r\n",
"C4D274FFC0DCA4547E00C530E57DFAA6 *TOTALCMD64.EXE\r\n",
"CA103E9284361BA104E5405641D80D33 *TOTALCMD64.EXE.MANIFEST\r\n",
"\r\n",
"https://www.texteditor.pro\r\n",
"www.texteditor.pro\r\n",
"mailto:info@texteditor.pro\r\n",
"news:comp.lang.pascal.borland"
],
"Editor": {
"URIOpener": true
},
"MainRules": {
"Attributes": {
"Element": "Editor"
},
"SubRules": {
"Range": [
{
"Type": "Value",
"Attributes": {
"Element": "Value"
},
"Delimiters": "*",
"Properties": {
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "*"
}
},
{
"Type": "Comment",
"Attributes": {
"Element": "Comment"
},
"Delimiters": "#",
"Properties": {
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "#"
}
},
{
"Type": "WebLink",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "http://",
"Close": " "
}
},
{
"Type": "WebLink",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "https://",
"Close": " "
}
},
{
"Type": "News",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "news://",
"Close": " "
}
},
{
"Type": "News",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "news:",
"Close": " "
}
},
{
"Type": "Gopher",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "gopher://",
"Close": " "
}
},
{
"Type": "Prospero",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "prospero://",
"Close": " "
}
},
{
"Type": "Nntp",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "nntp://",
"Close": " "
}
},
{
"Type": "Ftp",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "ftp://",
"Close": " "
}
},
{
"Type": "Wais",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "wais://",
"Close": " "
}
},
{
"Type": "Telnet",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "telnet://",
"Close": " "
}
},
{
"Type": "MailtoLink",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "mailto:",
"Close": " "
}
},
{
"Type": "WWW",
"Attributes": {
"Element": "WebLink"
},
"Delimiters": "<>\\^|\"",
"Properties": {
"CloseOnTerm": true,
"CloseOnEndOfLine": true
},
"TokenRange": {
"Open": "www",
"Close": " "
}
}
]
}
}
}
}
|
тема Twilight Hash.json
 Hidden text
| Code: | {
"Theme": {
"Colors": {
"ActiveLineBackground": "$00505050",
"ActiveLineBackgroundUnfocused": "$00505050",
"ActiveLineForeground": "clNone",
"ActiveLineForegroundUnfocused": "clNone",
"CaretMultiEditBackground": "clWhite",
"CaretMultiEditForeground": "clBlack",
"CodeFoldingActiveLineBackground": "$00505050",
"CodeFoldingActiveLineBackgroundUnfocused": "$00505050",
"CodeFoldingBackground": "clBlack",
"CodeFoldingCollapsedLine": "clLime",
"CodeFoldingFoldingLine": "clLime",
"CodeFoldingFoldingLineHighlight": "clLime",
"CodeFoldingHintBackground": "clBlack",
"CodeFoldingHintBorder": "clLime",
"CodeFoldingHintIndicatorBackground": "clBlack",
"CodeFoldingHintIndicatorBorder": "clLime",
"CodeFoldingHintIndicatorMark": "clLime",
"CodeFoldingHintText": "clWhite",
"CodeFoldingIndent": "clGray",
"CodeFoldingIndentHighlight": "clWhite",
"CompletionProposalBackground": "clBlack",
"CompletionProposalForeground": "clWhite",
"CompletionProposalSelectedBackground": "clBlue",
"CompletionProposalSelectedText": "clWhite",
"EditorAssemblerCommentBackground": "clBlack",
"EditorAssemblerCommentForeground": "clLime",
"EditorAssemblerReservedWordBackground": "clBlack",
"EditorAssemblerReservedWordForeground": "clAqua",
"EditorAttributeBackground": "clBlack",
"EditorAttributeForeground": "clWhite",
"EditorBackground": "clBlack",
"EditorCharacterBackground": "clBlack",
"EditorCharacterForeground": "clYellow",
"EditorCommentBackground": "clBlack",
"EditorCommentForeground": "clAqua",
"EditorDirectiveBackground": "clWhite",
"EditorDirectiveForeground": "clGreen",
"EditorForeground": "clLime",
"EditorHexNumberBackground": "clBlack",
"EditorHexNumberForeground": "clFuchsia",
"EditorHighlightedBlockBackground": "clBlack",
"EditorHighlightedBlockForeground": "clWhite",
"EditorHighlightedBlockSymbolBackground": "clBlack",
"EditorHighlightedBlockSymbolForeground": "clSilver",
"EditorLogicalOperatorBackground": "clBlack",
"EditorLogicalOperatorForeground": "clAqua",
"EditorMethodBackground": "clBlack",
"EditorMethodForeground": "clAqua",
"EditorMethodItalicBackground": "clBlack",
"EditorMethodItalicForeground": "clAqua",
"EditorMethodNameBackground": "clBlack",
"EditorMethodNameForeground": "clWhite",
"EditorNumberBackground": "clBlack",
"EditorNumberForeground": "clFuchsia",
"EditorReservedWordBackground": "clBlack",
"EditorReservedWordForeground": "clAqua",
"EditorStringBackground": "clBlack",
"EditorStringForeground": "clYellow",
"EditorSymbolBackground": "clBlack",
"EditorSymbolForeground": "clSilver",
"EditorValueBackground": "clBlack",
"EditorValueForeground": "clWhite",
"EditorWebLinkBackground": "clBlack",
"EditorWebLinkForeground": "clYellow",
"LeftMarginActiveLineBackground": "$00505050",
"LeftMarginActiveLineBackgroundUnfocused": "$00505050",
"LeftMarginActiveLineNumber": "clAqua",
"LeftMarginBackground": "clBlack",
"LeftMarginBookmarkPanelBackground": "clBlack",
"LeftMarginBorder": "clBlack",
"LeftMarginLineNumberLine": "clLime",
"LeftMarginLineNumbers": "clSilver",
"LeftMarginLineStateModified": "clYellow",
"LeftMarginLineStateNormal": "clLime",
"MatchingPairMatched": "clAqua",
"MatchingPairUnderline": "clWhite",
"MatchingPairUnmatched": "clYellow",
"MinimapBackground": "clNone",
"MinimapBookmark": "clLime",
"MinimapVisibleRows": "$00505050",
"RightMargin": "clLime",
"RightMovingEdge": "clSilver",
"RulerBackground": "clBlack",
"RulerBorder": "clLime",
"RulerLines": "clLime",
"RulerMovingEdge": "clSilver",
"RulerNumbers": "clLime",
"RulerSelection": "$00505050",
"SearchHighlighterBackground": "$00FCFDCD",
"SearchHighlighterBorder": "clNone",
"SearchHighlighterForeground": "clBlack",
"SearchInSelectionBackground": "$00808080",
"SearchMapActiveLine": "$00F0F0F0",
"SearchMapBackground": "clNone",
"SearchMapForeground": "clYellow",
"SelectionBackground": "clLime",
"SelectionBackgroundUnfocused": "clLime",
"SelectionForeground": "clBlack",
"SelectionForegroundUnfocused": "clBlack",
"SyncEditBackground": "$00808080",
"SyncEditEditBorder": "clWhite",
"SyncEditWordBorder": "clBlue",
"WordWrapIndicatorArrow": "clWhite",
"WordWrapIndicatorLines": "clAqua"
},
"Fonts": {
"CodeFoldingHint": "Courier New",
"CompletionProposal": "Courier New",
"LineNumbers": "Courier New",
"Minimap": "Courier New",
"Ruler": "Courier New",
"Text": "Courier New"
},
"FontSizes": {
"CodeFoldingHint": "8",
"CompletionProposal": "9",
"LineNumbers": "8",
"Minimap": "1",
"Ruler": "8",
"Text": "10"
},
"Styles": [
{
"Name": "AssemblerComment",
"Style": "Italic"
},
{
"Name": "Editor",
"Style": "Normal"
},
{
"Name": "Comment",
"Style": "Italic"
},
{
"Name": "Directive",
"Style": "Italic"
},
{
"Name": "MethodItalic",
"Style": "Italic"
}
]
}
} |
|
|