<?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 Community Site - Switch to an open buffer by name? - Comments</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name</link>
 <description>Comments for &quot;Switch to an open buffer by name?&quot;</description>
 <language>en</language>
<item>
 <title>Thank you!</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4852</link>
 <description>&lt;p&gt;This has dramatically improved our Komodo experience. Thank you!&lt;/p&gt;
</description>
 <pubDate>Sun, 30 Mar 2008 12:04:19 -0700</pubDate>
 <dc:creator>awmcclain</dc:creator>
 <guid isPermaLink="false">comment 4852 at http://community.activestate.com</guid>
</item>
<item>
 <title>Introduced &#039;natural&#039; case sensitive search</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4851</link>
 <description>&lt;p&gt;TabSwitcher v0.3&lt;/p&gt;
&lt;p&gt;What&#039;s new&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;New - if patters contains at least one uppercase character the incremental search became case sensitive
&lt;/li&gt;
&lt;li&gt;New - added item to Window menu&lt;/li&gt;
&lt;li&gt;Fix - path textbox is readonly and grayed&lt;/li&gt;
&lt;li&gt;Fix - removed Cancel button for better window space usage (changed xul:dialog to xul:window)
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;From this version the update mechanism is enabled by default&lt;/p&gt;
&lt;p&gt;Download available &lt;a href=&quot;//dafizilla.sourceforge.net/tabswitcher/tabswitcher-0.3.xpi&quot;&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
dafi&lt;br /&gt;
Enhance KomodoEdit with &lt;a href=&quot;http://dafizilla.sourceforge.net/morekomodo/index.php&quot;&gt;MoreKomodo&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Sun, 30 Mar 2008 08:37:04 -0700</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 4851 at http://community.activestate.com</guid>
</item>
<item>
 <title>All you need is zip</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4841</link>
 <description>&lt;p&gt;cd tabswitcher/chrome&lt;br /&gt;
zip -r tabswitcher.jar content  locale  skin&lt;br /&gt;
zip -r tabswitcher-0.1.xpi chrome/tabswitcher.jar install.rdf chrome.manifest defaults/&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Mar 2008 16:07:07 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 4841 at http://community.activestate.com</guid>
</item>
<item>
 <title>xpi?</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4838</link>
 <description>&lt;p&gt;Ug, I forget how to build the source into an xpi. Can you help?&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Mar 2008 14:48:15 -0700</pubDate>
 <dc:creator>awmcclain</dc:creator>
 <guid isPermaLink="false">comment 4838 at http://community.activestate.com</guid>
</item>
<item>
 <title>TabSwitcher v0.2</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4835</link>
 <description>&lt;p&gt;Download is available at &lt;a href=&quot;http://dafizilla.sourceforge.net/tabswitcher/tabswitcher-0.2.xpi&quot;&gt;TabSwitcher v0.2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Whats new&lt;/p&gt;
&lt;p&gt;[x] fixed double click&lt;br /&gt;
[x] names are sorted&lt;br /&gt;
[x] use glob search (thanks to Eric)&lt;br /&gt;
[x] incremental search shows only matching items&lt;br /&gt;
[x] file path is shown&lt;br /&gt;
[x] user can choose his/her preferred key binding (Edit|Preferences then from Category Editor|Key Bindings)&lt;/p&gt;
&lt;p&gt;No keybinding is assigned by default (I know this is a bad solution) user *must* do it manually&lt;/p&gt;
&lt;p&gt;The screenshot below shows how to add keybinding&lt;br /&gt;
&lt;img src=&quot;http://dafizilla.sourceforge.net/img/screenshots/tabswitcher/KeyBinding.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
dafi&lt;br /&gt;
Enhance KomodoEdit with &lt;a href=&quot;http://dafizilla.sourceforge.net/morekomodo/index.php&quot;&gt;MoreKomodo&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Mar 2008 12:21:39 -0700</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 4835 at http://community.activestate.com</guid>
</item>
<item>
 <title>Next version will add customizable key</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4834</link>
 <description>&lt;p&gt;The key binding is hard coded, next version will have customizable keybinding.&lt;/p&gt;
&lt;p&gt;Please wait only a couple of hours (hours not days), I&#039;m fixed right now the new versione&lt;br /&gt;
--&lt;br /&gt;
dafi&lt;br /&gt;
Enhance KomodoEdit with &lt;a href=&quot;http://dafizilla.sourceforge.net/morekomodo/index.php&quot;&gt;MoreKomodo&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Mar 2008 11:16:36 -0700</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 4834 at http://community.activestate.com</guid>
</item>
<item>
 <title>Changing the key-binding?</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4833</link>
 <description>&lt;p&gt;Unfortunately, shift-f9 won&#039;t work for me since on my mac it&#039;s bound to an os function.&lt;br /&gt;
Can I change the keybinding?&lt;/p&gt;
&lt;p&gt;Very excited about the new UI!&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Mar 2008 11:12:51 -0700</pubDate>
 <dc:creator>awmcclain</dc:creator>
 <guid isPermaLink="false">comment 4833 at http://community.activestate.com</guid>
</item>
<item>
 <title>Looks cool</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4828</link>
 <description>&lt;p&gt;For a guide to converting a glob-regex into a regular regex,&lt;br /&gt;
there&#039;s this:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.krugle.org/kse/files/archive/archive.sourceforge.net/civicrm/civicrm-1.7.beta.9184-drupal-php5/civicrm/packages/Selenium/scripts/htmlutils.js&quot; title=&quot;http://www.krugle.org/kse/files/archive/archive.sourceforge.net/civicrm/civicrm-1.7.beta.9184-drupal-php5/civicrm/packages/Selenium/scripts/htmlutils.js&quot;&gt;http://www.krugle.org/kse/files/archive/archive.sourceforge.net/civicrm/...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Looks like the code would be something like:&lt;/p&gt;
&lt;div class=&quot;geshi-block&quot;&gt;
&lt;div class=&quot;geshifilter javascript&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; regexp = &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;new&lt;/span&gt; PatternMatcher.&lt;span style=&quot;color: #006600;&quot;&gt;strategies&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;glob&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;globField.&lt;span style=&quot;color: #006600;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; f &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;in&lt;/span&gt; filenames&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;regexp.&lt;span style=&quot;color: #006600;&quot;&gt;test&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; do_something ... &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;geshi-plain&quot;&gt;var regexp = new PatternMatcher.strategies.glob(globField.value);
  for (var f in filenames) {
     if (regexp.test(f)) { do_something ... }
  }&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Looks interesting, but I&#039;ll let you have the rest of the fun.&lt;/p&gt;
&lt;p&gt;- Eric&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Mar 2008 10:33:31 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 4828 at http://community.activestate.com</guid>
</item>
<item>
 <title>New UI design</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4827</link>
 <description>&lt;p&gt;I&#039;ve realize the two two-columns idea is very ugly, the new UI design is shown below&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://img223.imageshack.us/img223/7497/switchtoviewto2.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I need help about glob-type regex, may you help me? Have you some link resource?&lt;/p&gt;
&lt;p&gt;Another idea... I would allow case sentitive search, if pattern contains uppercase characters then the search is case sensitive otherwise is case insensitive.&lt;br /&gt;
IMHO this is natural and user don&#039;t need to choose any operation to switch between case sensitive/insensitive search, he/she simply type uppercaae :P&lt;/p&gt;
&lt;p&gt;I&#039;m sure you implementation would be better then mine :P but I prefer my Komodo programmers leave this simple task to lizard programmers like me ;)&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Mar 2008 10:18:42 -0700</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 4827 at http://community.activestate.com</guid>
</item>
<item>
 <title>All useful ideas...</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4825</link>
 <description>&lt;p&gt;I would sort by basename, and in answer to your first question, I&#039;d have a&lt;br /&gt;
checkbox that expands to full paths so you don&#039;t need the two columns.&lt;/p&gt;
&lt;p&gt;I prefer regex searching, but like I said, we&#039;re all so used to doing glob-type&lt;br /&gt;
searching when matching filenames that typing &quot;.*\.js&quot; is unexpected.&lt;/p&gt;
&lt;p&gt;Good work.  I worked on an implementation at home earlier this week, but am&lt;br /&gt;
happy you&#039;ve already done it.&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Mar 2008 09:53:18 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 4825 at http://community.activestate.com</guid>
</item>
<item>
 <title>You are right</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4816</link>
 <description>&lt;p&gt;You are right for everything, consider I&#039;m the only TabSwitcher user for months so I never thought to add enhancements.&lt;/p&gt;
&lt;p&gt;Cropping paths is interesting but I love treeViews, I&#039;m try to implement using a different approach.&lt;br /&gt;
What do you think about having a column with paths and a second one with basenames?&lt;br /&gt;
Maybe the quick-tab-switch became not-so-quick-tab-switch&lt;/p&gt;
&lt;p&gt;About regexp... What do you think about adding a checkbox enabling/disabling regexp search?&lt;/p&gt;
&lt;p&gt;The no-regexp search should match substrings, actually match only if filename &quot;starts with&quot; typed text.&lt;/p&gt;
&lt;p&gt;Sorting file names is a great improvement, I never realized them aren&#039;t :P&lt;br /&gt;
Sorting by fullpath or basename, that is the question?&lt;/p&gt;
&lt;p&gt;thanks for you feedback&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Mar 2008 22:50:48 -0700</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 4816 at http://community.activestate.com</guid>
</item>
<item>
 <title>Nice extension, with a couple of suggestions...</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4812</link>
 <description>&lt;p&gt;Sometimes I have two files with the same basename, but in different directories.&lt;br /&gt;
It would be useful to see more context, to determine which file I want.  At the worst, show the full pathname, and set crop to &quot;left&quot; to elide the start of the path.  Except it looks like you&#039;re using a treeview instead of a listbox to display the paths, and treecells don&#039;t have a crop attribute.&lt;/p&gt;
&lt;p&gt;Double-clicking is broken.  You need something like this code:&lt;/p&gt;
&lt;div class=&quot;geshi-block&quot;&gt;
&lt;div class=&quot;geshifilter javascript&quot; style=&quot;font-family: monospace;&quot;&gt;gSelectView = &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; ...&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #006600;&quot;&gt;onDblClick&lt;/span&gt;: &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;onAccept&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; window.&lt;span style=&quot;color: #000066;&quot;&gt;close&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;,&lt;/div&gt;
&lt;pre class=&quot;geshi-plain&quot;&gt;gSelectView = { ...
   onDblClick: function() {
      this.onAccept();
      window.close();
   },&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Also, the contents of the treeview should be sorted, so they&#039;re easier&lt;br /&gt;
to find.&lt;/p&gt;
&lt;p&gt;Finally, you could also process the view-title field, such as treating&lt;br /&gt;
it like a regex (so you can type &#039;foo.*\.js&#039; to see all your JavaScript files),&lt;br /&gt;
but that isn&#039;t natural.  Another approach is to convert the input &#039;abcd&#039; into&lt;br /&gt;
the regex &#039;a.*b.*c.*d&#039;.  A glob-type regex would be more useful, but the only&lt;br /&gt;
one I&#039;m aware of that we support easily returns a list of filenames on the&lt;br /&gt;
system.  Of course it&#039;s easy to convert a glob-type regex into a standard one,&lt;br /&gt;
right?&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Mar 2008 17:48:36 -0700</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 4812 at http://community.activestate.com</guid>
</item>
<item>
 <title>Maybe you need TabSwitcher?</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4806</link>
 <description>&lt;p&gt;I&#039;ve developed &lt;a href=&quot;//dafizilla.sourceforge.net/tabswitcher/tabswitcher-0.1.xpi&quot;&gt;TabSwitcher&lt;/a&gt; it is very similar to Eclipse Command-E.&lt;/p&gt;
&lt;p&gt;What it does:&lt;/p&gt;
&lt;p&gt;Press Shift-F9 to open a dialog with all views listed, then you can:&lt;br /&gt;
- enter text to select view&lt;br /&gt;
- move UP/DOWN to select view&lt;/p&gt;
&lt;p&gt;on enter the focus shifts to selected view&lt;/p&gt;
&lt;p&gt;PS&lt;br /&gt;
Ctrl-E is already assigned to Move to End of Word&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
dafi&lt;br /&gt;
Enhance KomodoEdit with &lt;a href=&quot;http://dafizilla.sourceforge.net/morekomodo/index.php&quot;&gt;MoreKomodo&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Mar 2008 11:51:28 -0700</pubDate>
 <dc:creator>dafi</dc:creator>
 <guid isPermaLink="false">comment 4806 at http://community.activestate.com</guid>
</item>
<item>
 <title>Don&#039;t know command-e</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name#comment-4802</link>
 <description>&lt;p&gt;Can you describe the behavior in a bit more detail? I&#039;m not familiar with that Eclipse feature. Is this anything like the Mac-like ability to navigate tabs using Cmd+TabNumber? I just posted a Macro set that does that ( albeit hackily ):&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://community.activestate.com/forum-topic/macro-set-implement-mac-tab-keybindings&quot; title=&quot;http://community.activestate.com/forum-topic/macro-set-implement-mac-tab-keybindings&quot;&gt;http://community.activestate.com/forum-topic/macro-set-implement-mac-tab...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
JeffG&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Mar 2008 08:04:00 -0700</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">comment 4802 at http://community.activestate.com</guid>
</item>
<item>
 <title>Switch to an open buffer by name?</title>
 <link>http://community.activestate.com/forum-topic/switch-open-buffer-name</link>
 <description>&lt;p&gt;I apologize if this has been answered elsewhere, but I couldn&#039;t find anything with a websearch or in the keybindings.&lt;/p&gt;
&lt;p&gt;Is there a command to switch to an open buffer by name (similar to Eclipse&#039;s command-e), rather than cycling through them all with next-file/previous-file?&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/switch-open-buffer-name#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/os-x-leopard">OS X Leopard</category>
 <pubDate>Wed, 26 Mar 2008 17:00:50 -0700</pubDate>
 <dc:creator>awmcclain</dc:creator>
 <guid isPermaLink="false">2118 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
