<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Plugin Development in IntelliJ IDEA</title>
	<atom:link href="http://blogs.jetbrains.com/idea/2006/03/plugin-development-in-intellij-idea/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/idea/2006/03/plugin-development-in-intellij-idea/</link>
	<description>tips &#38; tricks, news, how-to's</description>
	<pubDate>Mon, 13 Feb 2012 12:02:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: t800t8</title>
		<link>http://blogs.jetbrains.com/idea/2006/03/plugin-development-in-intellij-idea/#comment-13</link>
		<dc:creator>t800t8</dc:creator>
		<pubDate>Mon, 20 Mar 2006 12:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=8#comment-13</guid>
		<description>I found that sometimes editor.getCaretModel().getOffset() doesn't work well. It returns 0 while I put the cursor in the end of file so this plugin has IndexOutOfBoundsException

No message
java.lang.IndexOutOfBoundsException
	at java.nio.Buffer.checkIndex(Buffer.java:444)
	at java.nio.CharBuffer.charAt(CharBuffer.java:1195)
	at com.jetbrains.samplePlugin.GoogleSearch.GoogleSearchAction.getWordArCaret(GoogleSearchAction.java:49)
	at com.jetbrains.samplePlugin.GoogleSearch.GoogleSearchAction.actionPerformed(GoogleSearchAction.java:29)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:8)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:28)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:104)
	at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:88)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:167)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)</description>
		<content:encoded><![CDATA[<p>I found that sometimes editor.getCaretModel().getOffset() doesn&#8217;t work well. It returns 0 while I put the cursor in the end of file so this plugin has IndexOutOfBoundsException</p>
<p>No message<br />
java.lang.IndexOutOfBoundsException<br />
	at java.nio.Buffer.checkIndex(Buffer.java:444)<br />
	at java.nio.CharBuffer.charAt(CharBuffer.java:1195)<br />
	at com.jetbrains.samplePlugin.GoogleSearch.GoogleSearchAction.getWordArCaret(GoogleSearchAction.java:49)<br />
	at com.jetbrains.samplePlugin.GoogleSearch.GoogleSearchAction.actionPerformed(GoogleSearchAction.java:29)<br />
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:8)<br />
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:28)<br />
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:104)<br />
	at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:88)<br />
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:167)<br />
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)<br />
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)<br />
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)<br />
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)<br />
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

