<p>You can easily use the <code>PropertyChanges</code> events to set the flag. But how do you easily reset it after a save to the <code>ObjectContext</code>?</p>

[{'answer_id': 16410, 'author': 'Kevin', 'author_id': 40, 'author_profile': 'https://Stackoverflow.com/users/40', 'pm_score': 1, 'selected': False, 'text': "<p>You can use a styled pre block to preserve whitespace.  Most WYSIWYG editors also insert &amp;nbsp; for you...</p>\n\n<p>Overall, it's good that the browser ignores whitespace.  Just view the source on this website for yourself and imagine how crazy the site would look if every space was displayed.</p>\n"}, {'answer_id': 16412, 'author': 'mercutio', 'author_id': 1951, 'author_profile': 'https://Stackoverflow.com/users/1951', 'pm_score': 3, 'selected': False, 'text': "<p>If you really want your white space to be preserved, try the css property: white-space: pre;</p>\n\n<p>Or, you could just use a &lt;pre&gt; tag in your markup.</p>\n\n<p>By the way, it's a good thing that HTML browsers ignore white space in general, it allows us to have clearly formatted source code, without affecting the output.</p>\n"}, {'answer_id': 16417, 'author': 'James Marshall', 'author_id': 1025, 'author_profile': 'https://Stackoverflow.com/users/1025', 'pm_score': 2, 'selected': False, 'text': '<p>It may not be very elegant, but I apply CSS to a &lt;pre&gt; tag.</p>\n\n<p>There\'s always the "white-space" CSS attribute, but it can be a bit hit and miss.</p>\n'}, {'answer_id': 16421, 'author': 'Nick Zalutskiy', 'author_id': 1959, 'author_profile': 'https://Stackoverflow.com/users/1959', 'pm_score': 1, 'selected': False, 'text': '<p>Take a look at the <a href="http://www.w3schools.com/TAGS/tag_pre.asp" rel="nofollow noreferrer">pre tag</a>. It might do what you want.</p>\n'}, {'answer_id': 16427, 'author': 'Nicolas', 'author_id': 1730, 'author_profile': 'https://Stackoverflow.com/users/1730', 'pm_score': 0, 'selected': False, 'text': '<p>You\'d better use white-space: pre-wrap than white-space: pre or &amp;nbsp; \nWith your example, the latter solutions can start a new line on "rules.&amp;nbsp;" just because your <strong>n</strong>on-<strong>b</strong>reakable <strong>sp</strong>ace hit the end of the line.</p>\n'}, {'answer_id': 16507, 'author': 'Roy Rico', 'author_id': 1580, 'author_profile': 'https://Stackoverflow.com/users/1580', 'pm_score': 0, 'selected': False, 'text': '<p>The PRE tag can be a valid solution, depending on your needs. However, if you are trying to use the 2 space rule in sentences throughout your site, you\'ll soon find that the other characters the PRE tag preserves are the line feed/carriage returns (or lack of) will muck up any styling you try to do.   </p>\n\n<p>In general, I tend to ignore the "2 spaces after a sentence" rule, or if you\'re a stickler for it, I\'d stick with the &amp;nbsp;,  but you\'ll occasionally run into the issue Nicolas stated.</p>\n'}, {'answer_id': 16546, 'author': 'Aidan Ryan', 'author_id': 1042, 'author_profile': 'https://Stackoverflow.com/users/1042', 'pm_score': 4, 'selected': True, 'text': '<p>For your specific example, there is no need to worry about it. Web browsers perform typographical rendering and place the correct amount of space between periods and whatever character follows (and it\'s different depending on the next character, according to kerning rules.)</p>\n\n<p>If you want line breaks, &lt;br/&gt; isn\'t really a big deal, is it?</p>\n\n<hr>\n\n<p>Not sure what\'s worthy of a downmod here... You should not be forcing two spaces after a period, unless you\'re using a monospace font. For proportional fonts, the rederer kerns the right amount of space after a period. See <a href="http://www.webword.com/reports/period.html" rel="noreferrer">here</a> and <a href="http://everything2.com/node/540926" rel="noreferrer">here</a> for detailed discussions.</p>\n'}, {'answer_id': 16783, 'author': 'Greg Hewgill', 'author_id': 893, 'author_profile': 'https://Stackoverflow.com/users/893', 'pm_score': 0, 'selected': False, 'text': '<p>There is a page regarding this topic on <a href="http://www.webtypography.net/Rhythm_and_Proportion/Horizontal_Motion/2.1.4/" rel="nofollow noreferrer">webtypography.net</a>. That site has many other interesting things about creating text for the web from the point of view of typography, things that web page designers often don\'t even think about. It\'s worth reading.</p>\n'}]
['https://Stackoverflow.com/questions/16406', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1956/']