<?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: php - Recent Topics</title>
		<link>http://pnotepad.org/forums/tags/php</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 10:47:33 +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/php/topics" rel="self" type="application/rss+xml" />

		<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>which language do you use with PN (uulele)</title>
			<link>http://pnotepad.org/forums/topic/5115#post-7494</link>
			<pubDate>Mon, 06 Dec 2010 13:52:19 +0000</pubDate>
			<dc:creator>uulele</dc:creator>
			<guid isPermaLink="false">7494@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;PHP is my choice.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Text Clips in PHP (Nux)</title>
			<link>http://pnotepad.org/forums/topic/5103#post-7450</link>
			<pubDate>Tue, 09 Nov 2010 18:18:14 +0000</pubDate>
			<dc:creator>Nux</dc:creator>
			<guid isPermaLink="false">7450@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi. I've noticed that I can't use HTML clips in PHP. What is the advisable way to add some clips from one group to the other?&#60;/p&#62;
&#60;p&#62;I found a workaround but it doesn't seem very nice - one just need to copy files from clips/web to clips/php. It works fine, but then when I change something in HTML clips they won't be changed for PHP.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Force .ini files to be opened as .php? (chrisb)</title>
			<link>http://pnotepad.org/forums/topic/5037#post-7254</link>
			<pubDate>Thu, 22 Jul 2010 11:13:32 +0000</pubDate>
			<dc:creator>chrisb</dc:creator>
			<guid isPermaLink="false">7254@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Have a quick question.  I have files on my server saved as .ini files even though they are written in php.&#60;/p&#62;
&#60;p&#62;However, I love the way that the notepad in php mode colourises the code.&#60;/p&#62;
&#60;p&#62;So I was just wondering if anywhere in the program I can set the default to force all .ini files to open in .php mode (as .ini files are by default opened as xml)&#60;/p&#62;
&#60;p&#62;Many Thanks&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PHP 里的 代码颜色问题 (hanchoihyun)</title>
			<link>http://pnotepad.org/forums/topic/4799#post-6933</link>
			<pubDate>Sat, 05 Jun 2010 17:23:47 +0000</pubDate>
			<dc:creator>hanchoihyun</dc:creator>
			<guid isPermaLink="false">6933@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;希望 把 $符号 另给一个颜色  让用户 使用时 更方便
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Will PyPN or C++ extension system allow me to do this... (brainwipe)</title>
			<link>http://pnotepad.org/forums/topic/1131#post-3132</link>
			<pubDate>Fri, 12 Mar 2010 11:45:20 +0000</pubDate>
			<dc:creator>brainwipe</dc:creator>
			<guid isPermaLink="false">3132@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I have an application in PHP that I coded in PN. It's spread across a number of files and I would like to write a tool to help me refactor and perform 'class exploring' type functions. The sorts of tasks I will need to do are:&#60;/p&#62;
&#60;p&#62;Searching lots of files.&#60;br /&#62;
Pulling out class names, member variables and method signatures.&#60;br /&#62;
Building some sort of hierarchy in a GUI.&#60;br /&#62;
Modifying batches of files base on a series of rules.&#60;/p&#62;
&#60;p&#62;I've eyeballed the documentation and it's not obvious to my fatherhood-addled brain whether PyPN will be powerful enough or whether it's time to relearn a bit of C++ (I'm a C# .NET sort of person) and write a plug-in. Are making GUI extensions possible for PN?&#60;/p&#62;
&#60;p&#62;[edit]What I'd really like is some sort of .NET interface for writing PN add-ons but that's an ask so large, it can be seen from space![/edit]
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Forum bug &#34;Add New Topic&#34; when not logged in. (Patabugen)</title>
			<link>http://pnotepad.org/forums/topic/1105#post-3058</link>
			<pubDate>Wed, 10 Feb 2010 17:10:41 +0000</pubDate>
			<dc:creator>Patabugen</dc:creator>
			<guid isPermaLink="false">3058@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;If you click on &#34;Add New Topic&#34; when you are not logged in you get this error at the top of the page:&#60;/p&#62;
&#60;p&#62;Warning: parse_url(/forums/bb-login.php?re=http://pnotepad.org/forums/?new=1) [function.parse-url]: Unable to parse URL in /var/www/pnotepad.org/htdocs/forums/bb-includes/functions.bb-core.php on line 596&#60;/p&#62;
&#60;p&#62;The URL I have is this:&#60;br /&#62;
&#60;a href=&#34;http://pnotepad.org/forums/bb-login.php?re=http://pnotepad.org/forums/?new=1&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/forums/bb-login.php?re=http://pnotepad.org/forums/?new=1&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;--&#60;br /&#62;
Pata
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Bugs I found on Version 2.0.7: (webmailusr-msn)</title>
			<link>http://pnotepad.org/forums/topic/109#post-372</link>
			<pubDate>Wed, 20 Sep 2006 13:52:45 +0000</pubDate>
			<dc:creator>webmailusr-msn</dc:creator>
			<guid isPermaLink="false">372@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;1. Output window should be read-only&#60;br /&#62;
2. Tools-&#38;gt;Options-&#38;gt;Files-&#38;gt;File Associations: Editing entries does not work (you have to delete entry and reenter it again).&#60;br /&#62;
3. PHP files are assigned to hypertext file types- should be separated, shouldn't it?&#60;br /&#62;
4. Custom pattern for output parsing fails for free pascal compiler:&#60;br /&#62;
%f(%l,%c)&#60;br /&#62;
applied on c:\test.pas(52,10) says:&#60;br /&#62;
file: c:\test.pas(5, l=2, c=10&#60;br /&#62;
Should be:&#60;br /&#62;
file: c:\test.pas l=52, c=10&#60;/p&#62;
&#60;p&#62;Some suggested improvements:&#60;br /&#62;
1. In tags window, group members inside classes when a file has more than one class&#60;/p&#62;
&#60;p&#62;2. Remove  from tags window classes from closed files
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PHP Lexer (deadimp)</title>
			<link>http://pnotepad.org/forums/topic/249#post-902</link>
			<pubDate>Sat, 07 Jul 2007 19:14:24 +0000</pubDate>
			<dc:creator>deadimp</dc:creator>
			<guid isPermaLink="false">902@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;A couple of things for PHP:&#60;br /&#62;
&#38;gt; Could you add the keywords &#60;code&#62;protected private public inherits&#60;/code&#62; by default?&#60;br /&#62;
&#38;gt; Could you enable PHP highlighting for short tags? Ex. &#60;code&#62;&#38;lt;?=$value?&#38;gt;&#60;/code&#62;&#60;br /&#62;
&#38;gt; Inline string members (of an object) aren't highlighted. Ex. &#60;code&#62;\&#38;quot;$obj-&#38;gt;member\&#38;quot;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;EDIT: Gah! bbpress is escaping my quotes!
&#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>Save a scheme (lvl)</title>
			<link>http://pnotepad.org/forums/topic/226#post-834</link>
			<pubDate>Wed, 23 May 2007 13:11:34 +0000</pubDate>
			<dc:creator>lvl</dc:creator>
			<guid isPermaLink="false">834@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;first, great tool.&#60;br /&#62;
But, how can I save the scheme &#34;Hypertext&#34;.&#60;br /&#62;
My Problem: I have changed the complete color scheme for php and I want use PN of 2 PCs. Now, I want use the same color schema for php on my second desk. How kann I save the scheme? and import of my second desk?&#60;/p&#62;
&#60;p&#62;I'm using PN2 :)&#60;/p&#62;
&#60;p&#62;greets lvl&#60;br /&#62;
from germany ;)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Linux-user - visits XP - enjoys PNpad - etc (fedoracore)</title>
			<link>http://pnotepad.org/forums/topic/173#post-621</link>
			<pubDate>Sat, 03 Mar 2007 02:18:49 +0000</pubDate>
			<dc:creator>fedoracore</dc:creator>
			<guid isPermaLink="false">621@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;hi there.&#60;br /&#62;
well done, good sir! well done! :)&#60;/p&#62;
&#60;p&#62;very nice. lightweight but not &#60;em&#62;too&#60;/em&#62; lightweight. love the text-clips -- again, very nicely done there. &#60;/p&#62;
&#60;p&#62;my wish-list item: give us something to integrate a &#34;browser&#34; a little more easily. here's what i've got for Seamonkey, but it's not doing quite what i want.It opens the browser. :)&#60;br /&#62;
but the URL is all &#34;URL encoded&#34;, so it requires editing, and the full path i suppose is NOT what i want either... but it's &#34;close&#34;.&#60;/p&#62;
&#60;blockquote cite=&#34;This Users Settings&#34;&#62;&#60;p&#62;&#60;code&#62; &#60;a href=&#34;http://localhost/$(ProjectPath)%f&#34; rel=&#34;nofollow&#34;&#62;http://localhost/$(ProjectPath)%f&#60;/a&#62; &#60;/code&#62;
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;hmph-- i suppose &#60;em&#62;you don't need to do anything&#60;/em&#62; there-- it's really on &#34;we&#34;, the users to go w/ that-- and it's awesome the way you've got that part of it setup, don't get me wrong (as one who deals w/ stuff in linux where you actually have to open up a dot-properties file, and make changes in there-- your &#34;tools&#34; window in comparison is a godsend-- but maybe add a Prog. Variable to reference the httpd:htdocs path? i realize you've not necessarily targeted web dev'rs here, and that's admirable, but perhaps that one little bit wouldn't hurt? not sure how you'd do it-- haha-- obviously!!&#60;/p&#62;
&#60;p&#62;thanks again. and thanks for offering it for such a great price!!!&#60;br /&#62;
i was using EditPlus in my QuickLaunch -- but integrating it w/ FileZilla, and to have that Nag-Screen coming up all the time (yeah, i'm an ass, and i didn't buy it yet. i do plan to, honest!) -- it's make the on-the-fly-editing of web docs a little less &#34;easy&#34;. i think i'm going to switch my Filezilla prefs to open PNpad instead. ;)&#60;/p&#62;
&#60;p&#62;thanks! woot! woot!! ::sounds of crowd cheering in bground:: ...&#60;/p&#62;
&#60;p&#62;PS. I tried installing PNPad under WinE on Linux ( winehq.org ), but it didn't work. i think the error i get is something about the sys having a hard time w/ the C+ library and compiling error (if i recall correctly, as i'm on WinXP presently). i'd love to have it available to me there (i know that might sound silly w/ all the great linux text-editors, etc...)&#60;br /&#62;
that's just an FYI-- i wouldn't expect you to care about the WinE-o's. :)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PHP scheme (Husky)</title>
			<link>http://pnotepad.org/forums/topic/101#post-356</link>
			<pubDate>Wed, 30 Aug 2006 12:01:27 +0000</pubDate>
			<dc:creator>Husky</dc:creator>
			<guid isPermaLink="false">356@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Has somebody made a PHP scheme? I can't find one in the /schemes/ directory, and there doesn't seem to be one in the development branch either...
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>CTags in PHP5 (visibility) (dmaphy)</title>
			<link>http://pnotepad.org/forums/topic/115#post-392</link>
			<pubDate>Fri, 29 Sep 2006 16:20:03 +0000</pubDate>
			<dc:creator>dmaphy</dc:creator>
			<guid isPermaLink="false">392@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
i'm working with PHP5 and use visibility-keywords such as &#34;public, private, protected&#34;.&#60;br /&#62;
The Problem is, functions and variables declared with visibility are not shown in the CTags-window. is this a general problem or something that just doesn't work for me?&#60;br /&#62;
would be nice if someone knows a solution. :)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

