! Preferences file for NEdit ! ! This file is overwritten by the "Save Defaults..." command in NEdit ! and serves only the interactively settable options presented in the NEdit ! "Preferences" menu. To modify other options, such as background colors ! and key bindings, use the .Xdefaults file in your home directory (or ! the X resource specification method appropriate to your system). The ! contents of this file can be moved into an X resource file, but since ! resources in this file override their corresponding X resources, either ! this file should be deleted or individual resource lines in the file ! should be deleted for the moved lines to take effect. nedit.fileVersion: 5.1 nedit.shellCommands: \ spell:::EX:\n\ cat>spellTmp; xterm -e ispell -x spellTmp; cat spellTmp; rm spellTmp\n\ wc::w:ED:\n\ set wc=`wc`; echo $wc[1] "words," $wc[2] "lines," $wc[3] "characters"\n\ sort::o:EX:\n\ sort\n\ number lines::n:AW:\n\ nl -ba\n\ make:::W:\n\ make\n\ expand::p:EX:\n\ expand\n\ unexpand::u:EX:\n\ unexpand\n\ Latex syntax check (english):Alt+S::EXSL:\n\ cat > /tmp/ispell.$$; xterm -title "Spell Check" -e ispell -t -d american -S /tmp/ispell.$$; cat /tmp/ispell.$$; rm /tmp/ispell.$$\n nedit.macroCommands: \ + IDL Kommentar:Alt+Q::: {\n\ replace-in-selection("^.*$", "; &", "regex")\n\ }\n\ - IDL Kommentar:Alt+W::: {\n\ replace-in-selection("(^; )(.*)$", "\\\\2", "regex")\n\ }\n\ + LaTeX Kommentar:Alt+E::: {\n\ replace-in-selection("^.*$", "% &", "regex")\n\ }\n\ - LaTeX Kommentar:Alt+R::: {\n\ replace-in-selection("(^% )(.*)$", "\\\\2", "regex")\n\ }\n\ + Tab einfügen:Alt+T::: {\n\ replace-in-selection("^.*$", " &", "regex")\n\ }\n\ - Tab entfernen:Alt+Y::: {\n\ replace-in-selection("(^ )(.*)$", "\\\\2", "regex")\n\ }\n\ Latex auto - begin/end:Alt+B::: {\n\ c = $cursor\n\ backward_word()\n\ select($cursor, c)\n\ s = get_selection()\n\ delete_selection()\n\ insert_string("\\\\begin{"s"}\\n")\n\ c = $cursor\n\ insert_string("\\\\end{"s"}")\n\ set_cursor_pos(c)\n\ }\n\ Latex change - begin/end:Alt+C::: {\n\ c=$cursor\n\ end_of_line()\n\ eol=$cursor\n\ beginning_of_line()\n\ bol=$cursor\n\ set_cursor_pos(c)\n\ erg=search("\\\\begin{", c, "literal", "backward")\n\ if (erg==-1 || ergeol)\n\ return\n\ env=get_range(a, b)\n\ i=0\n\ p=b\n\ while(i>=0) {\n\ nend=search("\\\\end{",p,"literal", "forward")\n\ if (nend==-1)\n\ return\n\ nbeg=search("\\\\begin{",p,"literal", "forward") \n\ if (nbeg!=-1 && nbeg":::Keyword::\n\ Operatoren:"<(and|not|or|xor|eq|ge|gt|le|lt|ne)>":::IDL Keyword::\n\ Keywords2:",/\\l\\w*":::IDL Funktion::\n\ stop:"stop|STOP":::SIGNAL::\n\ Klammern:"[\\(\\[\\)\\]]":::Keyword::D\n\ fold:"\\f":"\\f\\n"::Keyword::\n\ fold comment:"(\\[\\[\\[)[^\\|]*(\\|\\|\\|)":::SIGNAL:fold:\n\ fold comment boundary:"\\1\\2":""::IDL Keyword:fold comment:C\n\ } nedit.languageModes: C:.c .h::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~"\n\ C++:.cc .hh .C .H .i::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~"\n\ Java:.java::::::\n\ JavaScript:.js::::::\n\ Ada:.ada .ad .ads .adb .a::::::\n\ Fortran:.f .f77 .for::::::\n\ Pascal:.pas .p .int::::::\n\ Yacc:.y::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~"\n\ Perl:.pl .pm .p5:"^[ \\t]*#[ \\t]*!.*perl":::::\n\ Python:.py:"^#!.*python":Auto:None:::\n\ Tcl:.tcl::::::\n\ Awk:.awk::::::\n\ Csh:.csh .cshrc .login .logout:"^[ \\t]*#[ \\t]*![ \\t]*/bin/csh":::::\n\ Makefile:Makefile makefile::::::\n\ SGML HTML:.sgml .sgm .html .htm:"\\<(?ihtml)\\>":::::\n\ LaTeX:.tex::::::\n\ PostScript:.ps .PS .eps .EPS .epsf .epsi::::::\n\ Lex:.lex::::::\n\ SQL:.sql::::::\n\ Matlab:..m .oct .sci::::::\n\ VHDL:.vhd .vhdl .vdl::::::\n\ Verilog:.v::::::\n\ NEdit Macro:.nm .neditmacro::::::\n\ IDL:.pro:::::: nedit.styles: Plain:black:Plain\n\ IDL Kommentar:grey50:Italic\n\ IDL String:darkgreen:Bold\n\ IDL Funktion:orange3:Bold\n\ IDL Keyword:blue3:Bold\n\ SIGNAL:red:Bold\n\ Comment:gray20:Italic\n\ Keyword:black:Bold\n\ Storage Type:brown:Bold\n\ Storage Type1:saddle brown:Bold\n\ String:darkGreen:Plain\n\ String1:SeaGreen:Plain\n\ String2:darkGreen:Bold\n\ Preprocessor:RoyalBlue4:Plain\n\ Preprocessor1:blue:Plain\n\ Character Const:darkGreen:Plain\n\ Numeric Const:darkGreen:Plain\n\ Identifier:brown:Plain\n\ Identifier1:RoyalBlue4:Plain\n\ Subroutine:brown:Plain\n\ Subroutine1:chocolate:Plain\n\ Ada Attributes:plum:Bold\n\ Label:red:Italic\n\ Flag:red:Bold\n\ Text Comment:SteelBlue4:Italic\n\ Text Key:VioletRed4:Bold\n\ Text Key1:VioletRed4:Plain\n\ Text Arg:RoyalBlue4:Bold\n\ Text Arg1:SteelBlue4:Bold\n\ Text Arg2:RoyalBlue4:Plain\n\ Text Escape:gray30:Bold\n\ LaTeX Math:darkGreen:Plain nedit.smartIndentInit: C:Default\n\ C++:Default\n\ Matlab:Default nedit.smartIndentInitCommon: Default nedit.autoWrap: None nedit.wrapMargin: 0 nedit.autoIndent: Auto nedit.autoSave: True nedit.saveOldVersion: True nedit.showMatching: True nedit.highlightSyntax: True nedit.searchDialogs: False nedit.retainSearchDialogs: False nedit.repositionDialogs: True nedit.sortOpenPrevMenu: True nedit.statisticsLine: True nedit.iSearchLine: False nedit.lineNumbers: False nedit.warnFileMods: True nedit.warnExit: True nedit.searchMethod: Literal nedit.textRows: 40 nedit.textCols: 80 nedit.tabDistance: 3 nedit.emulateTabs: 0 nedit.insertTabs: True nedit.textFont: -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 nedit.boldHighlightFont: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 nedit.italicHighlightFont: -adobe-courier-medium-o-normal--14-140-75-75-m-90-iso8859-1 nedit.boldItalicHighlightFont: -adobe-courier-bold-o-normal--14-140-75-75-m-90-iso8859-1 nedit.smartTags: True nedit.prefFileRead: True