<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>2718.us blog &#187; nstextview</title>
	<atom:link href="http://2718.us/blog/tag/nstextview/feed/" rel="self" type="application/rss+xml" />
	<link>http://2718.us/blog</link>
	<description>Miscellaneous Technological Geekery</description>
	<lastBuildDate>Tue, 18 May 2010 02:42:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>NSTextView [Mis]Spelling Underlines Misplaced</title>
		<link>http://2718.us/blog/2009/07/25/nstextview-misspelling-underlines-misplaced/</link>
		<comments>http://2718.us/blog/2009/07/25/nstextview-misspelling-underlines-misplaced/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 21:47:15 +0000</pubDate>
		<dc:creator>2718.us</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asLJ]]></category>
		<category><![CDATA[check spelling as you type]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[content view]]></category>
		<category><![CDATA[core animation]]></category>
		<category><![CDATA[custom view]]></category>
		<category><![CDATA[dotted underline]]></category>
		<category><![CDATA[misspelling]]></category>
		<category><![CDATA[misspelling underline]]></category>
		<category><![CDATA[nstextview]]></category>
		<category><![CDATA[red underline]]></category>
		<category><![CDATA[spelling]]></category>
		<category><![CDATA[underline]]></category>
		<category><![CDATA[view]]></category>

		<guid isPermaLink="false">http://2718.us/blog/?p=163</guid>
		<description><![CDATA[I&#8217;ve just spent a total of about 2 hours taking apart and rebuilding an interface window because those little red dotted underlines on misspelled words  in an NSTextView were appearing about a line and a half too high and about 4em to the right.  Net result?  It seems that if core animation is enabled for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just spent a total of about 2 hours taking apart and rebuilding an interface window because those little red dotted underlines on misspelled words  in an NSTextView were appearing about a line and a half too high and about 4em to the right.  Net result?  It seems that if core animation is enabled for the content view of a window, which is also the parent view of the NSTextView, spelling underlining becomes very broken.  Adding a custom view inside the content view and enabling core animation for that custom view (and putting the objects that needed their parent to have core animation enabled inside that custom view) seems to have solved the issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://2718.us/blog/2009/07/25/nstextview-misspelling-underlines-misplaced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

