📄 viewerini.inc
字号:
//Registry keys
const
cIniRegKey = 'Software\UniversalViewer';
cIniRegValue = 'ConfigurationFolder';
//Sections
const
csOpt = 'Options';
csToolbars = 'Toolbars';
csPlugins = 'ListerPlugins';
csShortcuts = 'Shortcuts';
csUserTools = 'UserTools';
csFonts = 'Fonts';
//History
csWindow = 'Window';
csRecent = 'RecentFiles';
csSearchOpt = 'SearchOptions';
csSearchHist = 'SearchHistory';
csPrintOpt = 'Print';
//Keys
const
//Options
ccOLanguage = 'Language';
ccOIconsName = 'Icons';
ccOShowMenu = 'ShowMenu';
ccOShowMenuIcons = 'ShowMenuIcons';
ccOShowToolbar = 'ShowToolbar';
ccOShowBorder = 'ShowBorder';
ccOShowStatusBar = 'ShowStatusBar';
ccOShowStatusBarOnMedia = 'ShowStatusBarOnMedia';
ccOShowNavigation = 'ShowNavigation';
ccOShowHiddenFiles = 'ShowHiddenFiles';
ccOShowAlwaysOnTop = 'ShowAlwaysOnTop';
ccOShowFullScreen = 'ShowFullScreen';
ccOSingleInst = 'SingleInstance';
ccOViewerTitle = 'WinTitle';
ccOViewerMode = 'StartMode';
//Fonts
ccOTextFont = 'Text';
ccOTextFontOem = 'Oem';
ccOTextFontFooter = 'Footer';
ccOTextFontGutter = 'Gutter';
//Text
ccOTextDetect = 'TextDetect';
ccOTextDetectOEM = 'TextDetectOEM';
ccOTextDetectSize = 'TextDetectSize';
ccOTextDetectLimit = 'TextDetectLimit';
ccOTextBackColor = 'TextBackColor';
ccOTextHexColor1 = 'TextHexColor1';
ccOTextHexColor2 = 'TextHexColor2';
ccOTextHexColorBack = 'TextHexColorBack';
ccOTextGutterColor = 'TextGutterColor';
ccOTextUrlColor = 'TextUrlColor';
ccOTextWidth = 'TextWidth';
ccOTextWidthFit = 'TextWidthFit';
ccOTextOemSpec = 'TextOemSpec';
ccOTextGutter = 'TextGutter';
ccOTextGutterLines = 'TextNum';
ccOTextGutterLinesSize = 'TextNumBuf';
ccOTextGutterLinesCount = 'TextNumCount';
ccOTextGutterLinesExtUse = 'TextNumExtUse';
ccOTextGutterLinesExtList = 'TextNumExtList';
ccOTextSearchIndent = 'TextSearchIndent';
ccOTextMaxLength = 'TextMaxLength';
ccOTextMaxClipSize = 'TextMaxClipSize';
ccOTextTabSize = 'TextTabSize';
ccOTextAutoReload = 'TextAutoReload';
ccOTextAutoReloadBeep = 'TextAutoReloadBeep';
ccOTextAutoReloadTail = 'TextAutoReloadFollowTail';
ccOTextAutoCopy = 'TextAutoCopy';
ccOTextGotoMode = 'TextGotoMode';
ccOTextEncoding = 'TextEncoding';
ccOTextWrap = 'TextWrap';
ccOTextURLs = 'TextURLs';
ccOTextNonPrint = 'TextNonPrint';
//Media
ccOMediaMode = 'MediaMode';
ccOMediaAutoPlay = 'MediaAutoPlay';
ccOMediaLoop = 'MediaLoop';
ccOMediaPlayCount = 'MediaPlayCount';
ccOMediaFit = 'MediaFit';
ccOMediaFitOnlyBig = 'MediaFitOnlyBig';
ccOMediaFitWindow = 'MediaFitWindow';
ccOMediaCenter = 'MediaCenter';
ccOMediaVolume = 'MediaVolume';
ccOMediaMute = 'MediaMute';
ccOMediaAutoAdvance = 'MediaAutoAdvance';
ccOImageColor = 'ImageColor';
ccOImageResample = 'ImageResample';
ccOImageTransparent = 'ImageTransparent';
ccOImageLabelColor = 'ImageLabelColor';
ccOImageLabelColorErr = 'ImageLabelColorErr';
ccOImageLabelVisible = 'ImageLabelVisible';
//Web
ccOWebOffline = 'WebOffline';
ccOWebAcceptAll = 'WebAcceptAll';
//Ext
ccOExtText = 'ExtText';
ccOExtImages = 'ExtImages';
ccOExtMedia = 'ExtMedia';
ccOExtWeb = 'ExtInternet';
ccOExtRTF = 'ExtRTF';
//IView
ccOIViewEnabled = 'IViewEnabled';
ccOIViewExeName = 'IViewExeName';
ccOIViewExtList = 'IViewExtList';
ccOIViewPriority = 'IViewHighPriority';
//IJL
ccOIJLEnabled = 'IJLEnabled';
ccOIJLExtList = 'IJLExtList';
//Navigation
ccNavPanelWidth = 'NavPanelWidth';
ccNavTreeWidth = 'NavTreeWidth';
ccNavTreeHeight = 'NavTreeHeight';
ccNavListView = 'NavListView';
ccNavTreeHoriz = 'NavTreeHoriz';
ccNavListSortDir = 'NavListSortDir';
ccNavListSortColumn = 'NavListSortColumn';
ccNavListColumns = 'NavListColumns';
//Misc
ccToolbarMain = 'ToolbarMain';
ccOModeUndetected = 'ModeUndetected';
ccOModesDisabled = 'ModesDisabled';
ccOFileSortOrder = 'FileSortOrder';
ccOFileNextMsg = 'FileNextMsg';
ccOFileMoveDelay = 'FileMoveDelay';
ccOFileSkipHidden = 'FileSkipHidden';
ccOResolveLinks = 'ResolveLinks';
ccOStatusUrlWidth = 'StatusUrlWidth';
//Search
ccOSearchSel = 'SearchSel';
ccOSearchNoMsg = 'SearchNoMsg';
ccOSearchNoCfm = 'SearchNoCfm';
//History
ccOSaveRecents = 'ShowRecents';
ccOSavePos = 'SavePos';
ccOSaveSearch = 'SaveSearch';
ccOSaveFolder = 'SaveFolder';
ccOLastFolder = 'LastFolder';
ccOLastFolderSave = 'LastFolderSave';
ccWinLeft = 'Left';
ccWinTop = 'Top';
ccWinWidth = 'Width';
ccWinHeight = 'Height';
ccWinMaximized = 'Maximized';
//Plugins
ccPDetect = '_detect';
ccPEnabled = '_enabled';
ccPPrior = 'PluginsHighPriority';
ccPTcVar = 'PluginsTotalcmdVar';
ccPHideKeys = 'PluginsHideKeys';
//Search options
ccSrchWords = 'Words';
ccSrchCase = 'Case';
ccSrchBack = 'Back';
ccSrchHex = 'Hex';
ccSrchRegex = 'RegEx';
ccSrchMLine = 'MLine';
ccSrchOrigin = 'Origin';
//User tools
ccUCaption = '_Caption';
ccUCommand = '_Command';
ccUParams = '_Params';
ccUActions = '_Actions';
//Print options
ccPMarginL = 'MarginL';
ccPMarginT = 'MarginT';
ccPMarginR = 'MarginR';
ccPMarginB = 'MarginB';
ccFooterFontName = 'FooterFontName';
ccFooterFontSize = 'FooterFontSize';
ccFooterFontColor = 'FooterFontColor';
ccFooterFontStyle = 'FooterFontStyle';
ccFooterFontCharset = 'FooterFontCharset';
//Gutter
ccOTextFontGutterName = 'GutterFontName';
ccOTextFontGutterSize = 'GutterFontSize';
ccOTextFontGutterColor = 'GutterFontColor';
ccOTextFontGutterStyle = 'GutterFontStyle';
ccOTextFontGutterCharset = 'GutterFontCharset';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -