예제 #1
0
 private void SetOptionalFieldsToDefaultVal(StreamingContext sc)
 {
     logger.ConditionalDebug("SetOptionalFieldsToDefaultVal");
     mode            = Mode.ecrit;
     marquerMuettes  = true;
     chercherDierese = true;
     nbrPieds        = 0;
     _excMots        = null;
 }
예제 #2
0
 public SylAction(string name, SylConfig inSylConf,
                  ExceptionMots inPrevExcMots, ExceptionMots inNewExcMots)
     : base(name)
 {
     type        = SylActionType.exceptMots;
     sylConf     = inSylConf;
     prevExcMots = inPrevExcMots;
     newExcMots  = inNewExcMots;
 }
예제 #3
0
        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();
        }
예제 #4
0
 /// <summary>
 /// Réinitialise les exceptions à "aucune exception".
 /// </summary>
 public void ResetExceptionMots()
 {
     ExcMots = null;
 }