AppKit.TextKit.Formatter.LanguageDescriptor.ClearFormats C# (CSharp) Méthode

ClearFormats() public méthode

Resets all of the AppKit.TextKit.Formatter.FormatDescriptor for this language to their default states of unmacthed and inactive.
This should only be called ba a AppKit.TextKit.Formatter.LanguageFormatter.
public ClearFormats ( ) : void
Résultat void
		public virtual void ClearFormats() {

			// Clear the process state of all formats
			foreach (FormatDescriptor format in Formats) {
				format.CharIndex = 0;
				format.Active = false;
			}

		}