This project is read-only.
2
Vote

Bold doesn't seem to work.

description

Before and after bold is applied to 12 point arial the look doesn't change.

comments

DavidRa wrote Mar 18, 2015 at 1:24 AM

In the source code for MainForm.cs, there's a handler for clicking the format buttons.

Change these three lines in the FormatSelection method:
if (UnderlineToolStripButton.Checked) style &= FontStyle.Underline;
if (BoldToolStripButton.Checked) style &= FontStyle.Bold;
if (ItalicToolStripButton.Checked) style &= FontStyle.Italic;
Replace with these:
if (UnderlineToolStripButton.Checked) style |= FontStyle.Underline;
if (BoldToolStripButton.Checked) style |= FontStyle.Bold;
if (ItalicToolStripButton.Checked) style |= FontStyle.Italic;
Note the change from &= to |= to apply the style as needed.

wrote Mar 18, 2015 at 1:43 AM

DavidRa wrote Apr 3, 2015 at 5:07 AM

This issue has been corrected in the latest source version on GitHub. A new release of the executable is planned shortly incorporating this fix.