<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Support Site: New Forum Posts</title>
 <link>http://community.activestate.com/rss/forums</link>
 <description>An RSS feed for all forum posts</description>
 <language>en</language>
<item>
 <title>Different encodings for projects</title>
 <link>http://community.activestate.com/forum/different-encodings-projects</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i use different encodings in my projects.&lt;/p&gt;
&lt;p&gt;e.g.&lt;br /&gt;
project1 -&amp;gt; ISO-8859-1&lt;br /&gt;
project2 -&amp;gt; UTF-8&lt;/p&gt;
&lt;p&gt;a.s.o.&lt;/p&gt;
&lt;p&gt;Is there a way to make this setting globaly so the files will get this encoding when new files are created?&lt;/p&gt;
&lt;p&gt;I know the way over internalisation and file preferences but the first is a setting for Komodo in general an the second for the files. I want to do this for a project.&lt;/p&gt;
&lt;p&gt;In Aptana this is solved very good. You can do this in the workspace settings.&lt;/p&gt;
&lt;p&gt;Best regards and thanks for help.&lt;/p&gt;
&lt;p&gt;Ünal&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum/different-encodings-projects#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/os-x-snow-leopard">OS X Snow Leopard</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4626</wfw:commentRss>
 <pubDate>Sat, 21 Nov 2009 00:49:40 -0800</pubDate>
 <dc:creator>snapshirt</dc:creator>
 <guid isPermaLink="false">4626 at http://community.activestate.com</guid>
</item>
<item>
 <title>new user question</title>
 <link>http://community.activestate.com/forum/new-user-question</link>
 <description>&lt;p&gt;Hi guys,&lt;br /&gt;
Just tried out Komodo Edit, I have to say I&#039;m impressed.&lt;br /&gt;
I have been a notepad++ user for quite sometime now and how grown accustomed to some of the plugins, one in particular the Function List plugin. Is there a similar extension for Komodo which does the same thing as that particular plugin for notepad++? I looked over the extensions earlier, didnt see any or I might have missed it.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum/new-user-question#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4625</wfw:commentRss>
 <pubDate>Sat, 21 Nov 2009 00:32:33 -0800</pubDate>
 <dc:creator>madkris</dc:creator>
 <guid isPermaLink="false">4625 at http://community.activestate.com</guid>
</item>
<item>
 <title>Tab width setting not working?</title>
 <link>http://community.activestate.com/forum/tab-width-setting-not-working</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I set the &quot;Width of each tab character&quot; to &quot;4&quot; (default &quot;8&quot;) from Edit -&amp;gt; Preferences -&amp;gt; Editor -&amp;gt; Indentation, but when I typed in Tab, it gave me two arrows with width of 4, instead of one like this:&lt;/p&gt;
&lt;p&gt;---&amp;gt;---&amp;gt;&lt;/p&gt;
&lt;p&gt;and not what I expected:&lt;/p&gt;
&lt;p&gt;---&amp;gt;&lt;/p&gt;
&lt;p&gt;Then, for testing, I set this value to &quot;2&quot;, which gave me this (4 arrows w/ width of 2):&lt;/p&gt;
&lt;p&gt;-&amp;gt;-&amp;gt;-&amp;gt;-&amp;gt;-&amp;gt;-&amp;gt;-&amp;gt;-&amp;gt;&lt;/p&gt;
&lt;p&gt;It looks like that, no matter how I configured, it still give me the total length of 8.&lt;/p&gt;
&lt;p&gt;What&#039;s funnier is that these multiple arrows are regarded as one tab.&lt;/p&gt;
&lt;p&gt;How can I set the physical tab width to &quot;4&quot; then?&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum/tab-width-setting-not-working#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/debian-ubuntu">Debian / Ubuntu</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4624</wfw:commentRss>
 <pubDate>Fri, 20 Nov 2009 22:09:33 -0800</pubDate>
 <dc:creator>brandon</dc:creator>
 <guid isPermaLink="false">4624 at http://community.activestate.com</guid>
</item>
<item>
 <title>Macro for Create New Project</title>
 <link>http://community.activestate.com/forum/macro-create-new-project</link>
 <description>&lt;p&gt;Hi Friends!&lt;/p&gt;
&lt;p&gt;I need a macro for create New Project,  explaining, I create a command to start new Django Project  and I want, after run this command,  go to the project&#039;s folder and create a komodo project, It&#039;s possible create a macro for this?&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum/macro-create-new-project#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-extensions-0">Komodo Macros and Extensions</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4623</wfw:commentRss>
 <pubDate>Fri, 20 Nov 2009 15:56:50 -0800</pubDate>
 <dc:creator>rogerio</dc:creator>
 <guid isPermaLink="false">4623 at http://community.activestate.com</guid>
</item>
<item>
 <title>Cleanup Trailing Whitespace</title>
 <link>http://community.activestate.com/forum/cleanup-trailing-whitespace</link>
 <description>&lt;p&gt;Just thought I would share a macro I put together that cleans up trailing white space. It will be applied to the current selection if there is one, otherwise it will apply itself to the entire document.&lt;/p&gt;
&lt;p&gt;Also, for anyone else trying to modify the current selection, there are a couple of handy methods in this macro. They handle extracting the relevant text and maintaining the current selection, which is the tricky part.&lt;/p&gt;
&lt;p&gt;The methods in there are:&lt;/p&gt;
&lt;pre class=&quot;geshifilter&quot;&gt;// Applies the given callback to the currently selected text
function applyToSelection ( expand, callback )

// Applies a callback to the entire document
function applyToDocument ( callback )

// Applies a callback to the currently in scope text
function applyToScopedText ( expand, callback )&lt;/pre&gt;&lt;p&gt;
Obviously, these methods accept a callback. They give it the text you want to operate on and use the return value as the replacement.&lt;/p&gt;
&lt;p&gt;The extent of the whitespace replacement script is simply this:&lt;/p&gt;
&lt;pre class=&quot;geshifilter&quot;&gt;applyToScopedText( true, function (text) {
   return text.replace(/[ \t]+$/mg, &#039;&#039;);
} );&lt;/pre&gt;&lt;p&gt;
I needed another macro that swapped single quotes for double quotes, and vice-versa, and it was easy to implement with the same helper functions:&lt;/p&gt;
&lt;pre class=&quot;geshifilter&quot;&gt;applyToSelection( true, function (text) {
   return text.replace(
      /[&#039;&quot;]/g,
      function ( input ) {
         return input == &#039;&quot;&#039; ? &quot;&#039;&quot; : &#039;&quot;&#039;;
      }
   );
} );&lt;/pre&gt;</description>
 <comments>http://community.activestate.com/forum/cleanup-trailing-whitespace#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-extensions-0">Komodo Macros and Extensions</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <enclosure url="http://community.activestate.com/files/Clean_Trailing_Whitespace.kpz" length="4217" type="application/octet-stream" />
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4622</wfw:commentRss>
 <pubDate>Fri, 20 Nov 2009 15:28:21 -0800</pubDate>
 <dc:creator>NyctoFixer</dc:creator>
 <guid isPermaLink="false">4622 at http://community.activestate.com</guid>
</item>
<item>
 <title>PHP autocomplete fails for Exception class while inside a catch clause</title>
 <link>http://community.activestate.com/forum/php-autocomplete-fails-exception-class-while-inside-catch-clause</link>
 <description>&lt;p&gt;When inside a catch clause, autocomplete on the passed Exception class object does not seem to work. But if I explicitly instantiate an exception object inside the catch clause, autocomplete will work for that object, just not for the caught exception object.&lt;/p&gt;
&lt;p&gt;The error in the status bar at the time autocomplete should be occurring is:&lt;/p&gt;
&lt;p&gt;evaluating &#039;e&#039; at course_data.php#103: could not resolve first part of &#039;e&#039; (error determining completions)&lt;/p&gt;
&lt;pre class=&quot;geshifilter&quot;&gt;&amp;lt;?php
try
{
   $for_xml = init_data();
   xml_out($for_xml);
}

catch ( Exception $e )
{
   echo $e-&amp;gt;      // No autocomplete; status bar gives an error
}
?&amp;gt;&lt;/pre&gt;&lt;p&gt;
Windows XP Pro, PHP 5.2.9&lt;br /&gt;
Komodo IDE, version 5.2.2, build 35694, platform win32-x86.&lt;br /&gt;
Built on Thu Oct 29 15:32:38 2009.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum/php-autocomplete-fails-exception-class-while-inside-catch-clause#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4621</wfw:commentRss>
 <pubDate>Fri, 20 Nov 2009 09:52:46 -0800</pubDate>
 <dc:creator>dactex</dc:creator>
 <guid isPermaLink="false">4621 at http://community.activestate.com</guid>
</item>
<item>
 <title>Macro : Duplicate line with iteration</title>
 <link>http://community.activestate.com/forum/macro-duplicate-line-iteration</link>
 <description>&lt;p&gt;Hi, I wrote macro for duplicate line with iteration. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://gist.github.com/239624&quot;&gt;http://gist.github.com/239624&lt;/a&gt;&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum/macro-duplicate-line-iteration#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-extensions-0">Komodo Macros and Extensions</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4620</wfw:commentRss>
 <pubDate>Fri, 20 Nov 2009 09:14:36 -0800</pubDate>
 <dc:creator>chemix</dc:creator>
 <guid isPermaLink="false">4620 at http://community.activestate.com</guid>
</item>
<item>
 <title>Komodo Edit 5.2 cannot save files on SMB shares</title>
 <link>http://community.activestate.com/forum/komodo-edit-52-cannot-save-files-smb-shares</link>
 <description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I&#039;m trying to use Komodo Edit 5.2 (Linux/x86_64 on Ubuntu 9.10) and I have my files on a mounted CIFS share. I can access and write the files on the command line, but in Komodo I get &quot;There was an error attempting to save &#039;&#039;: No such file or directory&quot;.&lt;/p&gt;
&lt;p&gt;Can anyone give me a pointer here?&lt;/p&gt;
&lt;p&gt; Thanks,&lt;/p&gt;
&lt;p&gt; B&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum/komodo-edit-52-cannot-save-files-smb-shares#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/debian-ubuntu">Debian / Ubuntu</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4619</wfw:commentRss>
 <pubDate>Fri, 20 Nov 2009 08:11:57 -0800</pubDate>
 <dc:creator>sardaukar</dc:creator>
 <guid isPermaLink="false">4619 at http://community.activestate.com</guid>
</item>
<item>
 <title>can&#039;t save project</title>
 <link>http://community.activestate.com/forum/cant-save-project</link>
 <description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I&#039;ve found a bug in komodo.&lt;br /&gt;
Course of this problem I had to reinstall komodo.&lt;/p&gt;
&lt;p&gt;Steps to reproduce:&lt;br /&gt;
- create new project and place it into directory with files&lt;br /&gt;
- open window &quot;Project properties and settings&quot; trough pop-up menu&lt;br /&gt;
- go to &quot;Languages &amp;gt; Perl&quot; page&lt;br /&gt;
- add project root directory to &quot;Additional perl import directories&quot; list (if it can&#039;t be added directly, just go one directory level up and then return to project root)&lt;/p&gt;
&lt;p&gt;Result:&lt;br /&gt;
Button &quot;OK&quot; in &quot;Project propeties and settings&quot; doesn&#039;t work any more,&lt;br /&gt;
for this project and for ANY others.&lt;/p&gt;
&lt;p&gt;Closing projects, restarting komodo can&#039;t fix this problem.&lt;br /&gt;
So, I have to delete komodo install directory and reinstall komodo into ANOTHER directory.&lt;/p&gt;
&lt;p&gt;Komodo version:&lt;br /&gt;
Komodo IDE, version 5.2.2, build 35694, platform linux-libcpp6-x86&lt;/p&gt;
&lt;p&gt;OS:&lt;br /&gt;
Kubuntu 9.10 (2.6.31-14-generic)&lt;/p&gt;
&lt;p&gt;Error message from log:&lt;/p&gt;
&lt;pre&gt;
[2009-11-20 17:59:03,612] [ERROR] prefs:
-- EXCEPTION START --
+ message (string) &#039;checkValidInterpreterSetting is not defined&#039;
+ fileName (string) &#039;chrome://komodo/content/pref/pref-perl.js&#039;
+ lineNumber (number) 16
+ stack (string) 387 chars
+ name (string) &#039;ReferenceError&#039;
*
OnPreferencePageOK([object XPCWrappedNative_NoHelper])@chrome://komodo/content/pref/pref-perl.js:16
()@chrome://komodo/content/pref/koPrefWindow.js:192
()@chrome://komodo/content/pref/koPrefWindow.js:243
()@chrome://komodo/content/pref/koPrefWindow.js:269
doOk()@chrome://komodo/content/pref/project.xul:164
oncommand([object XULCommandEvent])@chrome://komodo/content/pref/project.xul:1
-- EXCEPTION END --
&lt;/pre&gt;</description>
 <comments>http://community.activestate.com/forum/cant-save-project#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/debian-ubuntu">Debian / Ubuntu</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4618</wfw:commentRss>
 <pubDate>Fri, 20 Nov 2009 06:41:36 -0800</pubDate>
 <dc:creator>codejumper</dc:creator>
 <guid isPermaLink="false">4618 at http://community.activestate.com</guid>
</item>
<item>
 <title>Debugger</title>
 <link>http://community.activestate.com/forum/debugger-0</link>
 <description>&lt;p&gt;Hi, I have problem with graphic debugger. I have PDK8.1 and pdkdebuk is not installed in program files/ActiveState/bin.. I have win7... Any idea, where my debugg open? Reinstal PDK not work=(&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum/debugger-0#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-7">Windows 7</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.activestate.com/crss/node/4617</wfw:commentRss>
 <pubDate>Fri, 20 Nov 2009 01:57:42 -0800</pubDate>
 <dc:creator>unavensluncem</dc:creator>
 <guid isPermaLink="false">4617 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
