private void SetOptionalFieldsToDefaultVal(StreamingContext sc) { logger.ConditionalDebug("SetOptionalFieldsToDefaultVal"); mode = Mode.ecrit; marquerMuettes = true; chercherDierese = true; nbrPieds = 0; _excMots = null; }
public SylAction(string name, SylConfig inSylConf, ExceptionMots inPrevExcMots, ExceptionMots inNewExcMots) : base(name) { type = SylActionType.exceptMots; sylConf = inSylConf; prevExcMots = inPrevExcMots; newExcMots = inNewExcMots; }
private ExceptionMots _excMots; // null si aucune exception n'a jamais été créée. // ------------------------------------------------------------------------------------------------------------------- // ---------------------------------------------- Public Methods ---------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------- public SylConfig() { UndoFactory.DisableUndoRegistration(); sylButtons = new SylButtonConf[NrButtons]; for (int i = 0; i < NrButtons; i++) { sylButtons[i].buttonClickable = false; sylButtons[i].cf = CharFormatting.NeutralCF; } sylButtons[0].buttonClickable = true; nrSetButtons = 0; _excMots = null; Reset(); UndoFactory.EnableUndoRegistration(); }
/// <summary> /// Réinitialise les exceptions à "aucune exception". /// </summary> public void ResetExceptionMots() { ExcMots = null; }