Lines Matching defs:marks
32 /** @var array list of currently active formatting marks */
33 protected $marks = [];
63 return $this->marks;
331 foreach (array_keys($this->marks) as $mark) {
643 #region formatter marks
648 $this->marks['strong'] = 1;
654 if (isset($this->marks['strong'])) {
655 unset($this->marks['strong']);
662 $this->marks['em'] = 1;
668 if (isset($this->marks['em'])) {
669 unset($this->marks['em']);
676 $this->marks['subscript'] = 1;
682 if (isset($this->marks['subscript'])) {
683 unset($this->marks['subscript']);
690 $this->marks['superscript'] = 1;
696 if (isset($this->marks['superscript'])) {
697 unset($this->marks['superscript']);
704 $this->marks['code'] = 1;
710 if (isset($this->marks['code'])) {
711 unset($this->marks['code']);
718 $this->marks['deleted'] = 1;
724 if (isset($this->marks['deleted'])) {
725 unset($this->marks['deleted']);
732 $this->marks['underline'] = 1;
738 if (isset($this->marks['underline'])) {
739 unset($this->marks['underline']);
747 $this->marks['unformatted'] = 1;
749 unset($this->marks['unformatted']);
753 #endregion formatter marks