! Custom NEdit application defaults file
nedit.maxPrevOpenFiles:		60

! CDE/Vue color stuff, toggle image types
nedit*SecondaryColorSetId:	8
nedit*enableToggleVisual:	False
nedit*enableThinThickness:	True
nedit*enableToggleColor:	True
nedit*enableEtchedInMenu:	True
nedit*XmScrollBar*width:		11
nedit*XmScrollBar*height:		11
nedit*XmToggleButton.indicatorSize:	11
nedit*XmMenuShell*XmTearOffButton*ShadowThickness:	2
!nedit*XmToggleButton.ShadowThickness:			1
nedit*XmScrollBar*ShadowThickness:			1
!
! (-*-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1 aka 6x13)
nedit*XmText*FontList:	-*-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1
nedit*XmText.fontList:	-*-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1
nedit*XmText.fontList:	-*-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1
nedit*XmTextField.fontList:	-*-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1
nedit*macroListDialog*XmList*fontList: -*-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1
!
! Menus, dialogs etc
!nedit*fontList:	-adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
!nedit*fontList:	-adobe-helvetica-medium-r-normal--12-120-75-75-p-70-iso8859-1
nedit*fontList:	-*-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1,\
		-*-helvetica-bold-r-normal--10-100-75-75-p-*-iso8859-1=BOLD,\
		-*-helvetica-medium-o-normal--10-100-75-75-p-*-iso8859-1=ITALIC
!
nedit*statsLine.FontList:	-*-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1,\
				-*-helvetica-bold-r-normal--10-100-75-75-p-*-iso8859-1=BOLD,\
				-*-helvetica-medium-o-normal--10-100-75-75-p-*-iso8859-1=ITALIC
nedit*statsLineForm.textFontList:	-*-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1,\
				-*-helvetica-bold-r-normal--10-100-75-75-p-*-iso8859-1=BOLD,\
				-*-helvetica-medium-o-normal--10-100-75-75-p-*-iso8859-1=ITALIC
nedit*statsLineColNo.FontList:	-*-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1,\
				-*-helvetica-bold-r-normal--10-100-75-75-p-*-iso8859-1=BOLD,\
				-*-helvetica-medium-o-normal--10-100-75-75-p-*-iso8859-1=ITALIC

!

! General background color
!nedit*Background:	#E0E0E0

! the next 4 resources cannot be set - the program hardwires the values
!nedit*statsLine.foreground:	white
!nedit*statsLine.background:	#648090
!nedit*statsLine.shadowThickness:	1
!nedit*statsLine.highlightThickness:	1
!
nedit*helpText.background:	#e6fff0
nedit*helpText.selectBackground:	#80FFFF

! Foreground: default
!nedit*text.foreground:		black
! Foreground: light
! nedit*text.foreground:	white

! Background - default
!nedit*text.background:		#e5e5e5
! Background - dark
!	slatey blue
!		nedit*text.background:		#63637e7e8f8f
!	night sky blue
!		nedit*text.background:		#2f5378#c8e8d8
!	dark slatey blue
!		nedit*text.background:		#686f81
!	maroonish
!		nedit*text.background:		#a42a2a
!	dark brown
!		nedit*text.background:		#7c2a2a

! Background - midway (can use black or white foreground)
!	darkish orange
!		nedit*text.background:		#FF8000
!	twilight blue
!		nedit*text.background:		#78a0d4
! Background - light
!	strong yellowish -
!		nedit*text.background: #fedc40
!	pale yellowish -
		nedit*text.background: #f7f7d0
		nedit.textBgColor: #f7f7d0
		NEdit*XmText.foreground: black
		NEdit*XmText.background: #f7f7d0
		NEdit*XmTextField.background: #f7f7d0
		NEdit*XmList.foreground: black
		NEdit*XmList.background: #f7f7d0
!	greenish -
!		NEdit*XmText.Background: #e6fff0
!		nedit*text.background:		#d0f0e8
!	greenish (2)-
!		NEdit*XmText.foreground: black
!		NEdit*XmText.background: #e6fff0
!		NEdit*XmTextField.background: #e6fff0
!		nedit*text.background:	 #d0f4e8
!		NEdit*XmList.foreground: black
!		NEdit*XmList.background: #e6fff0
!	- greenish space and char backlights: #e6fff0
!	- greenish good tab backlights: #c0e4d8 #c8e8d8 #c0e0d8
!

! Various grey backlight strings:
! -------------------------------
!nedit*text.backlightCharTypes:	32-255:#eaeaea;0-31,127:red;128-159:orange;9:#e0e0e0;10-13,160:white
!nedit*text.backlightCharTypes:	32-255:#eaeaea;0-31,127:red;128-159:orange;9:#dedede;10-13:#e5e5e5;160:white
! GOOD-ONE: nedit*text.backlightCharTypes:	32-255:#f0f0f0;0-31,127:red;128-159:orange;9:#dedede;10-13:#e5e5e5;160:white
! VERY-DIM: nedit*text.backlightCharTypes:	33-255:#e5e5e5;0-31,127:red;128-159:orange;9:#eaeaea;10-13,32:#dedede;160:white
nedit.backlightCharTypes:	32-255:#f0f0f0;0-31,127:red;128-159:orange;9:#e0e0e0;10-13:#dedede;160:white
!nedit.backlightCharTypes:	32-255:#f0f0f0;0-31,127:red;128-159:orange;9:#f5f5f5;10-13:#dedede;160:white
!
! Yellow backlighting - lighter text, darker tabs - use background of #f7f7d0:
!nedit*text.backlightCharTypes:	32-255:#ffffe0;0-31,127:red;128-159:orange;9,10,13:#e7e7c0;160:#fffff0
!nedit.backlightCharTypes:	33-255:#ffffe0;0-31,127:red;128-159:orange;9,10,13:#e7e7c0;160:#fffff0;32:#ffffe0
! Green backlighting - lighter text, darker tabs - use background of #d0f4e8:
!nedit*text.backlightCharTypes:	32-255:#e6fff1;0-31,127:red;128-159:orange;9,10,13:#c0e0d8;160:#fffff0
! Green backlighting - darker text, darker tabs - use background of #e6fff1:
!nedit*text.backlightCharTypes:	32-255:#d0f4e8;0-31,127:red;128-159:orange;9,10,13:#c0e0d8;160:#fffff0
! Blue backlighting - lighter text, darker tabs - use background of #d0f0ff:
!nedit*text.backlightCharTypes:	0-8,10-31,127:red;9:#c0e0f0;32-126,160-255:#e0f8ff;128-159:orange
! 
! nedit*text.cursorForeground:	white
!
! nedit*text.highlightForeground:	white
nedit*text.highlightBackground:	red
! nedit*text.highlightBackground:	orange

nedit*text.selectBackground:	yellow
nedit*text.selectForeground:	#800000
nedit.remapDeleteKey:	False
!nedit.shell:	/bin/sh
nedit.shell:	/bin/bash
nedit.TagFile:	tags
nedit.wordDelimiters:	.,/\\`'!@#%^&*()-=+{}[]":;<>?$|~
nedit*text.heavyCursor: False
!
! nedit*text.selectBackground:	green
! nedit*text.selectBackground:	#75759494a8a8
! nedit*text.selectBackground:	#b1b19e9e9898
! nedit*text.selectBackground:	#c1c1cfcfd8d8
! nedit*text.selectBackground:	#949469697070
! nedit*text.selectBackground:	#3b3b4c4c5656
! nedit*text.selectBackground:	#b1b18f8f9090
! nedit*text.selectForeground:	yellow

! File open security settings:
! nedit*FileSelect.pattern:		[^.]*
! nedit*FileSelect.pathMode:		path_mode_relative
! nedit*FileSelect.fileFilterStyle:	filter_hidden_files
! nedit*FileSelect*FilterText.sensitive:	False
! nedit*FileSelect*DirList.sensitive:	False
! nedit*FileSelect*DirText.sensitive:		False
! nedit*FileSelect*Apply.sensitive:	False
! nedit*fileMenu.openSelected.sensitive:	False
! nedit*fileMenu.saveAs.sensitive:	False

!nedit*languageModes.tearOffModel:	XmTEAR_OFF_ENABLED
!nedit*customizeMenus.tearOffModel:	XmTEAR_OFF_ENABLED
nedit*tearOffModel:	XmTEAR_OFF_ENABLED

! Keyboard translations (eg)
! remember put more specific key combinations first
! NEdit*text.Translations: #override \n\
!	Alt<Key>y,Alt<Key>q: insert_string("alt yz") \n\
!	Alt<Key>q,Alt<Key>y: insert_string("alt zy") \n

! NEdit*text.Translations: #override \n\
!	Shift Ctrl<KeyPress>osfLeft: backward_same("extend")\n\
!	Ctrl<KeyPress>osfLeft: backward_same()\n\
!	Shift Ctrl<KeyPress>osfRight: forward_same("extend")\n
!	Ctrl<KeyPress>osfRight: forward_same()\n\


NEdit*text.translations: #override \n\
	Shift Ctrl<KeyPress>osfLeft: backward_same("extend")\n\
	Ctrl<KeyPress>osfLeft: backward_same("skipselect","skipblanks")\n\
	Shift Ctrl<KeyPress>osfRight: forward_same("extend","skipblanks")\n\
	Ctrl<KeyPress>osfRight: forward_same("skipselect","skipblanks")\n\
	~Alt ~Shift ~Ctrl ~Meta<KeyPress>osfRight: forward_character(skipselect)\n\
	~Alt ~Shift ~Ctrl ~Meta<KeyPress>osfLeft: backward_character(skipselect)\n\
	Alt ~Shift ~Ctrl ~Meta<KeyPress>osfRight: next_document()\n\
	Alt ~Shift ~Ctrl ~Meta<KeyPress>osfLeft: previous_document()\n\
	~Alt ~Shift ~Ctrl Meta<KeyPress>osfRight: next_document()\n\
	~Alt ~Shift ~Ctrl Meta<KeyPress>osfLeft: previous_document()\n\
	~Alt ~Shift Ctrl ~Meta<KeyPress>osfPageUp: previous_document()\n\
	~Alt ~Shift Ctrl ~Meta<KeyPress>osfPageDown: next_document()\n\
	Shift<Btn3Down>: \
		grab_focus() \
		macro_menu_command("Go there for language@No Language")\n\
	Shift<Btn4Down>,Shift<Btn4Up>: scroll_up(1)\n\
	Shift<Btn5Down>,Shift<Btn5Up>: scroll_down(1)\n\
	Ctrl<Btn4Down>,Ctrl<Btn4Up>: scroll_up(1,page)\n\
	Ctrl<Btn5Down>,Ctrl<Btn5Up>: scroll_down(1,page)\n\
	<Btn4Down>,<Btn4Up>: scroll_up(3)\n\
	<Btn5Down>,<Btn5Up>: scroll_down(3)\n\
	~Alt Shift ~Ctrl ~Meta <Key>Tab: insert_string("	")\n\
	~Alt ~Shift ~Ctrl ~Meta<KeyPress>Pause: execute_command_line()\n

!d on't work?
!	<Btn6Down>,<Btn6Up>: insert_string("back") previous_document() raise_window()\n\
!	<Btn7Down>,<Btn7Up>: insert_string("fwrd") next_document() raise_window()\n\

! forward button is 7, backward is 6
NEdit*helpText.translations: #override \n\
	Shift Ctrl<KeyPress>osfLeft: backward_same("extend")\n\
	Ctrl<KeyPress>osfLeft: backward_same("skipselect","skipblanks")\n\
	Shift Ctrl<KeyPress>osfRight: forward_same("extend","skipblanks")\n\
	Ctrl<KeyPress>osfRight: forward_same("skipselect","skipblanks")\n\
	~Alt ~Shift ~Ctrl ~Meta<KeyPress>osfRight: forward_character(skipselect)\n\
	~Alt ~Shift ~Ctrl ~Meta<KeyPress>osfLeft: backward_character(skipselect)\n\
	Shift<Btn4Down>,Shift<Btn4Up>: scroll_up(1)\n\
	Shift<Btn5Down>,Shift<Btn5Up>: scroll_down(1)\n\
	Ctrl<Btn4Down>,Ctrl<Btn4Up>: scroll_up(1,page)\n\
	Ctrl<Btn5Down>,Ctrl<Btn5Up>: scroll_down(1,page)\n\
	<Btn4Down>,<Btn4Up>: scroll_up(3)\n\
	<Btn5Down>,<Btn5Up>: scroll_down(3)\n\
	~Alt Shift ~Ctrl ~Meta <Key>Tab: insert_string("	")\n\
	<Btn7Down>,<Btn7Up>: grab_focus() grab_focus() find_definition()\n

! translations for XmText[Field] widgets (scott.tringali@etnus.com)
*XmTextField.translations: #override \n\
  Shift<KeyPress>osfBackSpace: beginning-of-line() delete-to-end-of-line()\n\
  Ctrl<KeyPress>a: select-all()\n

*XmText.translations: #override \n\
  Shift<KeyPress>osfBackSpace: beginning-of-line() delete-to-end-of-line()\n\
  Ctrl<KeyPress>a: select-all()\n

! turn off accelerators for cut/copy/paste - rely on translations instead
*editMenu.cut.accelerator:
*editMenu.copy.accelerator:
*editMenu.paste.accelerator:

! for keeping the current line vaguely central
nedit.autoScrollVPadding: 3

! for French keyboard
*macroMenu.cancelLearn.accelerator: Ctrl<Key>period
*macroMenu.cancelLearn.acceleratorText: Ctrl+.

! It was considered dangerous to have a commonly used key potentially execute
! arbitrary shell commands unintentionally (think rm -Rf). Therefore the
! shortcut was changed to Ctrl+KP Enter. In case you want the old binding
! back, you can add the following lines to your .Xdefaults or .Xresources
! file:
*shellMenu.executeCommandLine.accelerator: <Key>KP_Enter
*shellMenu.executeCommandLine.acceleratorText: KP Enter

! Controls if the Find and Replace dialogs are automatically loaded with
! the contents of the primary selection.
!nedit.findReplaceUsesSelection: True

! Special for slow sun stuff (XmMenuReduceGrabs)
!*MenuReduceGrabs: True

! stuff for the paged tag interface (tksoh)
*tabBar.inactiveBackground: #004060
!*tabBar.inactiveForeground: white
*tabBar.inactiveForeground: orange
!*tabBar.foreground: white
!*XmLFolder.background: yellow
!*XmLFolder.foreground: black
*sortTabs: False

*multiClickTime: 400

! Arne Forlie's colored window menu patch (see sourceforge)
nedit.coloredWinMenu: True
!nedit.defaultWinMenuColor: white
nedit.modifiedWinMenuColor: yellow
nedit.readOnlyWinMenuColor: cyan
nedit.backgroundWinMenuColor: darkgrey

! turn off separator between tab bar and status line
nedit*TOOLBAR_SEP.mappedWhenManaged: False
nedit.searchHiliteColor: goldenrod

! File name tabs
!nedit*XmLFolder.tabsPerRow: 8

! Thorsten's forceOSConversion patch for bug [1003241] cannot edit .csv files
!nedit.forceOSConversion: False
! More Thorstenisms, colors compatible with yellows
nedit.cursorlineBGColor: #d7d7b0
nedit.wrapMarginForeground: #d0d0a0

! Calltip resources:
!nedit*calltip.fontList:	-*-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1,\
!			-*-helvetica-bold-r-normal--10-100-75-75-p-*-iso8859-1=BOLD,\
!			-*-helvetica-medium-o-normal--10-100-75-75-p-*-iso8859-1=ITALIC
!nedit*calltipForeground: black
!nedit*calltipBackground: LemonChiffon1

