nedit.h
来自「nedit 是一款linux下的开发源码的功能强大的编辑器」· C头文件 代码 · 共 442 行 · 第 1/2 页
H
442 行
Widget replaceMultiFilePathBtn; Widget fontDialog; /* NULL, unless font dialog is up */ Widget colorDialog; /* NULL, unless color dialog is up */ Widget readOnlyItem; /* menu bar settable widgets... */ Widget autoSaveItem; Widget saveLastItem; Widget openSelItem; Widget closeItem; Widget printSelItem; Widget undoItem; Widget redoItem; Widget cutItem; Widget delItem; Widget copyItem; Widget lowerItem; Widget upperItem; Widget findSelItem; Widget findAgainItem; Widget replaceFindAgainItem; Widget replaceAgainItem; Widget gotoSelItem; Widget langModeCascade; Widget findDefItem; Widget showTipItem; Widget autoIndentOffItem; Widget autoIndentItem; Widget smartIndentItem; Widget noWrapItem; Widget newlineWrapItem; Widget continuousWrapItem; Widget statsLineItem; Widget iSearchLineItem; Widget lineNumsItem; Widget showMatchingOffItem; Widget showMatchingDelimitItem; Widget showMatchingRangeItem; Widget matchSyntaxBasedItem; Widget overtypeModeItem; Widget highlightItem; Widget windowMenuPane; Widget shellMenuPane; Widget macroMenuPane; Widget bgMenuPane; Widget prevOpenMenuPane; Widget prevOpenMenuItem; Widget unloadTagsMenuPane; Widget unloadTagsMenuItem; Widget unloadTipsMenuPane; Widget unloadTipsMenuItem; Widget filterItem; Widget autoIndentOffDefItem; Widget autoIndentDefItem; Widget smartIndentDefItem; Widget autoSaveDefItem; Widget saveLastDefItem; Widget noWrapDefItem; Widget newlineWrapDefItem; Widget contWrapDefItem; Widget showMatchingOffDefItem; Widget showMatchingDelimitDefItem; Widget showMatchingRangeDefItem; Widget matchSyntaxBasedDefItem; Widget highlightOffDefItem; Widget highlightDefItem; Widget backlightCharsItem; Widget backlightCharsDefItem; Widget searchDlogsDefItem; Widget beepOnSearchWrapDefItem; Widget keepSearchDlogsDefItem; Widget searchWrapsDefItem; Widget appendLFItem; Widget sortOpenPrevDefItem; Widget allTagsDefItem; Widget smartTagsDefItem; Widget reposDlogsDefItem; Widget statsLineDefItem; Widget iSearchLineDefItem; Widget lineNumsDefItem; Widget pathInWindowsMenuDefItem; Widget modWarnDefItem; Widget modWarnRealDefItem; Widget exitWarnDefItem; Widget searchLiteralDefItem; Widget searchCaseSenseDefItem; Widget searchLiteralWordDefItem; Widget searchCaseSenseWordDefItem; Widget searchRegexNoCaseDefItem; Widget searchRegexDefItem;#ifdef REPLACE_SCOPE Widget replScopeWinDefItem; Widget replScopeSelDefItem; Widget replScopeSmartDefItem;#endif Widget size24x80DefItem; Widget size40x80DefItem; Widget size60x80DefItem; Widget size80x80DefItem; Widget sizeCustomDefItem; Widget cancelShellItem; Widget learnItem; Widget finishLearnItem; Widget cancelMacroItem; Widget replayItem; Widget repeatItem; Widget splitWindowItem; Widget closePaneItem; Widget bgMenuUndoItem; Widget bgMenuRedoItem;#ifdef SGI_CUSTOM Widget shortMenusDefItem; Widget toggleShortItems[MAX_SHORTENED_ITEMS]; /* Menu items to be managed and unmanaged to toggle short menus on and off */ int nToggleShortItems;#endif char filename[MAXPATHLEN]; /* name component of file being edited*/ char path[MAXPATHLEN]; /* path component of file being edited*/ unsigned fileMode; /* permissions of file being edited */ int fileFormat; /* whether to save the file straight (Unix format), or convert it to MS DOS style with \r\n line breaks */ time_t lastModTime; /* time of last modification to file */ UndoInfo *undo; /* info for undoing last operation */ UndoInfo *redo; /* info for redoing last undone op */ textBuffer *buffer; /* holds the text being edited */ int nPanes; /* number of additional text editing areas, created by splitWindow */ int autoSaveCharCount; /* count of single characters typed since last backup file generated */ int autoSaveOpCount; /* count of editing operations "" */ int undoOpCount; /* count of stored undo operations */ int undoMemUsed; /* amount of memory (in bytes) dedicated to the undo list */ char fontName[MAX_FONT_LEN]; /* names of the text fonts in use */ char italicFontName[MAX_FONT_LEN]; char boldFontName[MAX_FONT_LEN]; char boldItalicFontName[MAX_FONT_LEN]; XmFontList fontList; /* fontList for the primary font */ XFontStruct *italicFontStruct; /* fontStructs for highlighting fonts */ XFontStruct *boldFontStruct; XFontStruct *boldItalicFontStruct; XtIntervalId flashTimeoutID; /* timer procedure id for getting rid of highlighted matching paren. Non- zero val. means highlight is drawn */ int flashPos; /* position saved for erasing matching paren highlight (if one is drawn) */ int wasSelected; /* last selection state (for dim/undim of selection related menu items */ Boolean filenameSet; /* is the window still "Untitled"? */ Boolean fileChanged; /* has window been modified? */ Boolean fileMissing; /* is the window's file gone? */ int lockReasons; /* all ways a file can be locked */ Boolean autoSave; /* is autosave turned on? */ Boolean saveOldVersion; /* keep old version in filename.bck */ char indentStyle; /* whether/how to auto indent */ char wrapMode; /* line wrap style: NO_WRAP, NEWLINE_WRAP or CONTINUOUS_WRAP */ Boolean overstrike; /* is overstrike mode turned on ? */ char showMatchingStyle; /* How to show matching parens: NO_FLASH, FLASH_DELIMIT, or FLASH_RANGE */ char matchSyntaxBased; /* Use syntax info to show matching */ Boolean showStats; /* is stats line supposed to be shown */ Boolean showISearchLine; /* is incr. search line to be shown */ Boolean showLineNumbers; /* is the line number display shown */ Boolean highlightSyntax; /* is syntax highlighting turned on? */ Boolean backlightChars; /* is char backlighting turned on? */ char *backlightCharTypes; /* what backlighting to use */ Boolean modeMessageDisplayed; /* special stats line banner for learn and shell command executing modes */ Boolean ignoreModify; /* ignore modifications to text area */ Boolean windowMenuValid; /* is window menu is up to date? */ Boolean prevOpenMenuValid; /* Prev. Opened Files menu up to date?*/ int rHistIndex, fHistIndex; /* history placeholders for */ int iSearchHistIndex; /* find and replace dialogs */ int iSearchStartPos; /* start pos. of current incr. search */ int iSearchLastBeginPos; /* beg. pos. last match of current i.s.*/ int nMarks; /* number of active bookmarks */ XtIntervalId markTimeoutID; /* backup timer for mark event handler*/ Bookmark markTable[MAX_MARKS]; /* marked locations in window */ void *highlightData; /* info for syntax highlighting */ void *shellCmdData; /* when a shell command is executing, info. about it, otherwise, NULL */ void *macroCmdData; /* same for macro commands */ void *smartIndentData; /* compiled macros for smart indent */ Atom fileClosedAtom; /* Atom used to tell nc that the file is closed */ int languageMode; /* identifies language mode currently selected in the window */ Boolean multiFileReplSelected; /* selected during last multi-window replacement operation (history) */ struct _WindowInfo** /* temporary list of writable windows */ writableWindows; /* used during multi-file replacements */ int nWritableWindows; /* number of elements in the list */ Bool multiFileBusy; /* suppresses multiple beeps/dialogs during multi-file replacements */ Bool replaceFailed; /* flags replacements failures during multi-file replacements */ Bool replaceLastRegexCase; /* last state of the case sense button in regex mode for replace dialog */ Bool replaceLastLiteralCase; /* idem, for literal mode */ Bool iSearchLastRegexCase; /* idem, for regex mode in incremental search bar */ Bool iSearchLastLiteralCase; /* idem, for literal mode */ Bool findLastRegexCase; /* idem, for regex mode in find dialog */ Bool findLastLiteralCase; /* idem, for literal mode */ #ifdef REPLACE_SCOPE int replaceScope; /* Current scope for replace dialog */ Widget replaceScopeWinToggle; /* Scope for replace = window */ Widget replaceScopeSelToggle; /* Scope for replace = selection */ Widget replaceScopeMultiToggle;/* Scope for replace = multiple files */#endif} WindowInfo;extern WindowInfo *WindowList;extern Display *TheDisplay;extern char *ArgV0;extern Boolean IsServer;#endif /* NEDIT_NEDIT_H_INCLUDED */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?