SIL.FieldWorks.UnicodeCharEditor.PUAInstaller.AddUCDLine C# (CSharp) Method

AddUCDLine() public method

Adds/"deletes" a given puaCharacter to the given TextWriter Will write a DerivedBidiClass.txt style line.
public AddUCDLine ( TextWriter writer, IUcdCharacter ucdCharacter, bool add ) : void
writer System.IO.TextWriter
ucdCharacter IUcdCharacter The character to add or delete
add bool
return void
		public void AddUCDLine(TextWriter writer, IUcdCharacter ucdCharacter, bool add)
		{
			if (add)
				writer.WriteLine(ucdCharacter + " " + m_comment);
			// Uncomment this line to replace lines with a comment indicating that the line was removed.
			//			else
			//				writer.WriteLine("# DELETED LINE: {0}",puaCharacter.ToBidiString());
		}
		/// <summary>