!----------------------------------------------------------------------------- ! MATLAB app-defaults file ! Copyright (c) 1984-96 by The MathWorks, Inc. ! $Revision: 1.20 $ $Date: 1998/08/20 20:11:43 $ !----------------------------------------------------------------------------- ! APP-DEFAULTS VERSION ! Do not change the version number below. If MATLAB gives a warning ! concerning the version number, the correct app-defaults file must ! be installed. Merely changing the number below will not fix the ! problem, it will only suppress the warning message. matlab.App-Defaults Version: 5.0 !============================================================================= ! The top of this file contains items that you might want to override. The rest ! of the file contains items that should not be changed. You can override the ! defaults set in this file in your own personal ~/.Xdefaults file. ! To override these in your ~/.Xdefaults file, you MUST prefix them with ! the word "Matlab" if you do not wish these properties to change other ! applications as well. Thus: ! *BorderWidth: 0 ! becomes: ! Matlab*BorderWidth: 0 ! General appearance *BorderWidth: 0 *shadowThickness: 1 *XmSeparator.ShadowThickness: 2 *XmSeparatorGadget.ShadowThickness: 2 *XmFrame.ShadowThickness: 2 *XmForm.ShadowThickness: 0 *saveBack: On *workWindow*resizePolicy: RESIZE_NONE *XmPushButton*width: 60 *XmPushButtonGadget*width: 60 *select file*foreground: black *select file*background: gray70 *select file.foreground: black *select file.background: gray70 *select file*XmText.background: white *select font*foreground: black *select font*background: gray70 *select font.foreground: black *select font.background: gray70 *modal dialog*foreground: black *modal dialog*background: gray70 *modal dialog.foreground: black *modal dialog.background: gray70 ! ! ...................FONT SPECIFICATIONS: ! ! .........................DEFAULT: *fontList: -*-helvetica-medium-r-normal--12-*-*-*-*-*-*-* ! ...................Figure window text font: figure*fontList: -*-helvetica-medium-r-normal--12-*-*-*-*-*-*-* ! ...................Figure window exponent text font figure*expfontList: -*-helvetica-medium-r-normal--10-*-*-*-*-*-*-* ! Scrolling: *XmScrollBar*marginWidth: 0 *XmScrollBar*increment: 1 *XmScrollBar*initialDelay: 250 *XmScrollBar*repeatDelay: 50 *XmScrollBar*showArrows: True *XmScrollBar*sliderSize: 8 *XmScrolledWindow*scrollBarDisplayPolicy: STATIC *XmScrolledWindow*scrollBarPlacement: BOTTOM_RIGHT *XmScrolledWindow*spacing: 0 ! Built-in Editor and Graphical Debugger options *preloadIDE: On *builtInEditor: Off *graphicalDebugger: On *externalEditorCommand: $EDITOR $FILE & ! These are general translations to add some emacs like bindings to ! text widgets in Matlab. *XmText.Translations: #override \ osfDelete : delete-next-character() \n\ ~MetaosfBackSpace : delete-previous-character() \n\ MetaosfBackSpace : delete-previous-word() \n\ Ctrl ~ShiftE : end-of-line() \n\ Ctrl ShiftE : end-of-line(extend) \n\ ~ShiftosfEndLine : end-of-line() \n\ ShiftosfEndLine : end-of-line(extend) \n\ Ctrl ~ShiftA : beginning-of-line() \n\ Ctrl ShiftA : beginning-of-line(extend) \n\ ~ShiftosfBeginLine : beginning-of-line() \n\ ShiftosfBeginLine : beginning-of-line(extend) \n\ Ctrl ~MetaD : delete-next-character() \n\ ~Ctrl MetaD : delete-next-word() \n\ CtrlK : delete-to-end-of-line() \n\ CtrlY : paste-clipboard() \n\ ~Ctrl Meta ~ShiftF : forward-word() \n\ ~Ctrl Meta ShiftF : forward-word(extend) \n\ Ctrl ~ShiftF : forward-character() \n\ Ctrl ~Meta ShiftF : forward-character(extend) \n\ ~Ctrl Meta ShiftB : backward-word(extend) \n\ ~Ctrl Meta ~ShiftB : backward-word() \n\ Ctrl ~Meta ~ShiftB : backward-character() \n\ Ctrl ~Meta ShiftB : backward-character(extend) \n\ Ctrl ~ShiftW : cut-clipboard() \n\ Ctrl ShiftW : cut-clipboard() \n\ Ctrl ~ShiftX : cut-clipboard() \n\ Ctrl ShiftX : cut-clipboard() \n\ Ctrl ~ShiftV : paste-clipboard() \n\ Ctrl ShiftV : paste-clipboard() \n\ Ctrl ~ShiftY : paste-clipboard() \n\ Ctrl ShiftY : paste-clipboard() \n\ Ctrl ~ShiftC : copy-clipboard() \n\ Ctrl ShiftC : copy-clipboard() \n\ Tab : next-tab-group() ! These are general translations to add some emacs like bindings to ! text fields in Matlab. *XmTextField.Translations: #override \ osfDelete : delete-next-character() \n\ ~MetaosfBackSpace : delete-previous-character() \n\ MetaosfBackSpace : delete-previous-word() \n\ Ctrl ~ShiftE : end-of-line() \n\ Ctrl ShiftE : end-of-line(extend) \n\ ~ShiftosfEndData : end-of-line() \n\ ShiftosfEndData : end-of-line(extend) \n\ Ctrl ~ShiftA : beginning-of-line() \n\ Ctrl ShiftA : beginning-of-line(extend) \n\ ~ShiftosfBeginData : beginning-of-line() \n\ ShiftosfBeginData : beginning-of-line(extend) \n\ Ctrl ~MetaD : delete-next-character() \n\ ~Ctrl MetaD : delete-next-word() \n\ CtrlK : delete-to-end-of-line() \n\ CtrlY : paste-clipboard() \n\ ~Ctrl Meta ~ShiftF : forward-word() \n\ ~Ctrl Meta ShiftF : forward-word(extend) \n\ Ctrl ~ShiftF : forward-character() \n\ Ctrl ~Meta ShiftF : forward-character(extend) \n\ ~Ctrl Meta ShiftB : backward-word(extend) \n\ ~Ctrl Meta ~ShiftB : backward-word() \n\ Ctrl ~Meta ~ShiftB : backward-character() \n\ Ctrl ~Meta ShiftB : backward-character(extend) \n\ Ctrl ~ShiftW : cut-clipboard() \n\ Ctrl ShiftW : cut-clipboard() \n\ Ctrl ~ShiftX : cut-clipboard() \n\ Ctrl ShiftX : cut-clipboard() \n\ Ctrl ~ShiftV : paste-clipboard() \n\ Ctrl ShiftV : paste-clipboard() \n\ Ctrl ~ShiftY : paste-clipboard() \n\ Ctrl ShiftY : paste-clipboard() \n\ Ctrl ~ShiftC : copy-clipboard() \n\ Ctrl ShiftC : copy-clipboard() \n\ Tab : next-tab-group() ! XmTXT is the updated text widget, and as such needs it's own translations ! for correct behavior. Add in behavior not already existing in the current ! implementation to make it also act like emacs. *XmTxt.Translations: #override \ osfDelete : delete-next-character() \n\ ~MetaosfBackSpace : delete-previous-character() \n\ MetaosfBackSpace : delete-previous-word() \n\ Ctrl ~ShiftE : end-of-line() \n\ Ctrl ShiftE : end-of-line(extend) \n\ ~ShiftosfEndLine : end-of-line() \n\ ShiftosfEndLine : end-of-line(extend) \n\ Ctrl ~ShiftA : beginning-of-line() \n\ Ctrl ShiftA : beginning-of-line(extend) \n\ ~ShiftosfBeginLine : beginning-of-line() \n\ ShiftosfBeginLine : beginning-of-line(extend) \n\ Ctrl ~MetaD : delete-next-character() \n\ ~Ctrl MetaD : delete-next-word() \n\ CtrlK : delete-to-end-of-line() \n\ CtrlY : paste-clipboard() \n\ ~Ctrl Meta ~ShiftF : forward-word() \n\ ~Ctrl Meta ShiftF : forward-word(extend) \n\ Ctrl ~ShiftF : forward-character() \n\ Ctrl ~Meta ShiftF : forward-character(extend) \n\ ~Ctrl Meta ShiftB : backward-word(extend) \n\ ~Ctrl Meta ~ShiftB : backward-word() \n\ Ctrl ~Meta ~ShiftB : backward-character() \n\ Ctrl ~Meta ShiftB : backward-character(extend) \n\ Ctrl ~ShiftW : cut-clipboard() \n\ Ctrl ShiftW : cut-clipboard() \n\ Ctrl ~ShiftX : cut-clipboard() \n\ Ctrl ShiftX : cut-clipboard() \n\ Ctrl ~ShiftV : paste-clipboard() \n\ Ctrl ShiftV : paste-clipboard() \n\ Ctrl ~ShiftY : paste-clipboard() \n\ Ctrl ShiftY : paste-clipboard() \n\ Ctrl ~ShiftC : copy-clipboard() \n\ Ctrl ShiftC : copy-clipboard() \n\ Tab : next-tab-group() *XmDrawnButton.Translations: #override \ : Arm() \n\ : Arm() ! This fixes a Linux/Stateflow/edittext bug (Geck# 26452) *workWindow.XmTxt.traversalOn: false !============================================================================= ! app-default entries from this point on in the file should NOT be changed or ! overridden in your .Xdefaults file. ! Label Strings -- could be changed for appropriate languages. *save file*cancelLabelString: No *save file*helpLabelString: Cancel *save file*okLabelString: Yes *select file*applyLabelString: Filter *select file*cancelLabelString: Cancel *select file*okLabelString: Done *applyButton.labelString: Apply *closeButton.labelString: Close *helpButton.labelString: Help *revertButton.labelString: Revert *splashform*background: gray !Alerts & Dialogs: !*save file*font: 6x13bold