<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<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>pnotepad.org forums &#187; Tag: help - Recent Topics</title>
		<link>http://pnotepad.org/forums/tags/help</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 11:22:13 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/tags/help/topics" rel="self" type="application/rss+xml" />

		<item>
                        <title>Using F1 to open a custom .chm help file (HeelX)</title>
			<link>http://pnotepad.org/forums/topic/5448#post-8309</link>
			<pubDate>Fri, 09 Sep 2011 14:55:04 +0000</pubDate>
			<dc:creator>HeelX</dc:creator>
			<guid isPermaLink="false">8309@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I want to let F1 open a .chm file, that is associated with the C/C++ scheme. In the Options\Tools dialog, I created with Add a new entry, assigned F1 as shortcut and entered the following command:&#60;/p&#62;
&#60;p&#62;C:\Windows\hh.exe D:\Dev\Engines\A8.30.1\3dgs_manual.chm&#60;/p&#62;
&#60;p&#62;I just want to let the Windows CHM viewer show the above listed .chm file. In the Windws command line, I successfully can open it either with just entering the path to the .chm as well as using explicitely the hh.exe. PN always says&#60;/p&#62;
&#60;p&#62;&#38;gt; &#34;C:\Windows\hh.exe D:\Dev\Engines\A8.30.1\3dgs_manual.chm&#34;&#60;br /&#62;
&#38;gt; Failed to create process: Das System kann die angegebene Datei nicht finden.&#60;br /&#62;
&#38;gt; Process Exit Code: 0&#60;br /&#62;
&#38;gt; Time Taken: 00:00&#60;/p&#62;
&#60;p&#62;What am I doing wrong?&#60;/p&#62;
&#60;p&#62;Thanks in advance,&#60;br /&#62;
-Christian
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Improving PyPN CHM Help script (leledumbo)</title>
			<link>http://pnotepad.org/forums/topic/5166#post-7655</link>
			<pubDate>Fri, 11 Feb 2011 02:32:20 +0000</pubDate>
			<dc:creator>leledumbo</dc:creator>
			<guid isPermaLink="false">7655@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'd like to improve PyPN CHM Help script so that if there's no selection, it takes a word around the cursor, if the character at the current position is an alphabet. Here's what I've done:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;def expandWord(s):
	st = s.CurrentPos - 1
	while chr(s.GetCharAt(st)).isalpha():
		st -= 1
	ed = s.CurrentPos + 1
	while chr(s.GetCharAt(ed)).isalpha():
		ed += 1
	return s.GetTextRange(st + 1,ed)

@script(&#38;quot;CHM help&#38;quot;, &#38;quot;HELP&#38;quot;)
def Help():
	doc = pn.CurrentDoc()
	if doc is not None:
		s = scintilla.Scintilla(doc)
		sch = doc.CurrentScheme
		config = ConfigParser.ConfigParser()
		config.read(&#38;#39;plugin.ini&#38;#39;)
		chm_path = config.get(sch, &#38;#39;chm_path&#38;#39;, 0)
		if chr(s.GetCharAt(s.CurrentPos)).isalpha():
			selLen = s.SelectionEnd - s.SelectionStart
			selText = s.SelText if selLen &#38;gt; 0 else expandWord(s)
			if test_import(&#38;#39;win32help&#38;#39;):
				import win32help
				win32help.HtmlHelp(0, None, win32help.HH_INITIALIZE, None)
				link = win32help.HH_AKLINK()
				link.indexOnFail = 1
				link.keywords = selText
				link.url = &#38;quot;&#38;quot;
				link.msgText = &#38;quot;&#38;quot;
				link.msgTitle = &#38;quot;&#38;quot;
				link.window = &#38;quot;&#38;quot;
				win32help.HtmlHelp(0, chm_path, win32help.HH_KEYWORD_LOOKUP, link)
			elif os.path.isfile(os.environ[&#38;quot;WINDIR&#38;quot;]+&#38;quot;\keyHH.exe&#38;quot;):
				os.popen (&#38;quot;keyHH.exe -#klink &#38;quot; + s.SelText + &#38;quot; &#38;quot; + chm_path)
			else:
				pn.AddOutput(&#38;quot;win32help api and keyHH.exe not found, falling back to hh.exe&#38;quot;)
				os.popen(&#38;quot;hh &#38;quot; + chm_path)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;as you can see, the difference lies only in the addition of expandWord method and the way to retrieve the keyword. However, upon execution it gives me:&#60;/p&#62;
&#60;p&#62;Python error: &#38;lt;class 'ConfigParser.NoSectionError'&#38;gt;: No section: 'pascal'&#60;/p&#62;
&#60;p&#62;even though I have [pascal] with chm_path key defined. The weird thing is, when I revert it back to the original script, it works like a charm.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Tutorial for adding languages (Swoop)</title>
			<link>http://pnotepad.org/forums/topic/500#post-1756</link>
			<pubDate>Mon, 15 Dec 2008 01:50:58 +0000</pubDate>
			<dc:creator>Swoop</dc:creator>
			<guid isPermaLink="false">1756@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Is there one?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Where should we post our wishes? (horus)</title>
			<link>http://pnotepad.org/forums/topic/414#post-1461</link>
			<pubDate>Fri, 06 Jun 2008 14:34:35 +0000</pubDate>
			<dc:creator>horus</dc:creator>
			<guid isPermaLink="false">1461@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;When we use Help &#38;gt; Request a feature, sourceforge site is opened for us to fill in the request.&#60;/p&#62;
&#60;p&#62;But from my last post on some wishes (&#60;a href=&#34;http://pnotepad.org/forums/topic/405)&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/forums/topic/405)&#60;/a&#62;, I see that wishes are filled in code.google.com.&#60;/p&#62;
&#60;p&#62;So my question is, where should we post our wishes?  Either, and it doesn't matter?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Beginner nees help setting up a C compiler (Fixxxer)</title>
			<link>http://pnotepad.org/forums/topic/334#post-1186</link>
			<pubDate>Wed, 13 Feb 2008 16:31:18 +0000</pubDate>
			<dc:creator>Fixxxer</dc:creator>
			<guid isPermaLink="false">1186@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello, all.  To cut to the quick, basically, I need help setting up a C compiler with PN2.  Here's the whole story...&#60;/p&#62;
&#60;p&#62;I really want to get into programming AVR microcontrollers, so I figured that I'd need to learn C first (I'm using the Kernighan &#38;#38; Ritchie book).  I went ahead and installed the latest WinAVR package, which includes PN2, but my problem is that PN2 didn't come with a C compiler to compile small &#34;learning&#34; programs for DOS/Win...&#60;/p&#62;
&#60;p&#62;It was suggested that I install Dev-C++ v4, since it comes with a compiler that allows you to create .EXE files that can be run from DOS/Win.  I did that, and it works great for all of the &#34;practice&#34; programs that I've been writing to help me learn C, but I REALLY hate the look and feel of Dev-C++ (and I LOVE the look/feel of PN2).&#60;/p&#62;
&#60;p&#62;So, the big question is, can anyone help me configure PN2 to use a C compiler that I can use to compile the programs that I write from my training book into .EXE files that can be executed in DOS/Win.?  It may be a very basic question for some of you, but since I just started learning about C a few weeks ago (I still don't really know anything about compilers, makefiles, etc.), I really have no idea what needs to be done to make this work.&#60;/p&#62;
&#60;p&#62;I've tried searching the forums and the PN2 documentation, but I can't seem to find any step-by-step instructions on how to get a DOS/Win. C compiler set up in PN2.  If anyone could spend a few minutes to help a newbie out, I would really appreciate it!&#60;/p&#62;
&#60;p&#62;Thanks!&#60;br /&#62;
-Lee
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Help file association (cane)</title>
			<link>http://pnotepad.org/forums/topic/50#post-191</link>
			<pubDate>Mon, 24 Apr 2006 08:36:39 +0000</pubDate>
			<dc:creator>cane</dc:creator>
			<guid isPermaLink="false">191@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, is there a way, in PN2, to associate a help file (say: hlp, chm formats) to a given language? I was looking through the options but nothing came up to my sight.&#60;/p&#62;
&#60;p&#62;Thanks, bye.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>feature-request (troels)</title>
			<link>http://pnotepad.org/forums/topic/186#post-664</link>
			<pubDate>Thu, 22 Mar 2007 22:09:47 +0000</pubDate>
			<dc:creator>troels</dc:creator>
			<guid isPermaLink="false">664@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;This is one awesome editor. I finally found an editor which can replace textpad.&#60;/p&#62;
&#60;p&#62;I have a few feature-requests/improvements, listed in order of preference:&#60;/p&#62;
&#60;p&#62;1) In PHP (and a few other languages), variables always begin with a $ sign. It would be nice if the editor knew that this sign is part of the word, so that when you doubleclick the variable or hold down Ctrl and use the arrows to move through text, one word at a time, the $ is considered part of the name.&#60;/p&#62;
&#60;p&#62;2) Possibility to launch a user-defined help-file from a keyboard-accelerator, preferably calling it with the text at cursor as a search argument. I used this feature a lot textpad, and I'm missing it.&#60;/p&#62;
&#60;p&#62;3) Regex search when searching in files would be nice.&#60;/p&#62;
&#60;p&#62;4) Optional auto-convert tabs to spaces on document load.&#60;/p&#62;
&#60;p&#62;5) Optional strip superfluous whitespace chars from end of line on save.&#60;/p&#62;
&#60;p&#62;6) The tiny toolbar at the bottom ... how about giving an option to hide it? I like as little distraction as possible, so I tend to disable all toolbars/docks/whatever.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Alternate files / Jump to (ilGaspa)</title>
			<link>http://pnotepad.org/forums/topic/149#post-548</link>
			<pubDate>Tue, 19 Dec 2006 10:34:51 +0000</pubDate>
			<dc:creator>ilGaspa</dc:creator>
			<guid isPermaLink="false">548@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello everyone :)&#60;br /&#62;
Can someone explain me what is the option &#34;alternate files&#34; and how it works? Thanks :)&#60;br /&#62;
Also, it seems to me that the option &#34;jump to&#34; in the edit menu does nothing... how it works?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

