<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>etexteditor channel</title>
    <link>http://tobyho.com/tag/etexteditor</link>
    <description>etexteditor channel</description>
    <language>en-us</language>
    <item>
      <title>e-texteditor: getting my ctrl-z back</title>
      <description>As I mentioned in a &lt;a href="/Dvorak_layout_with_QWERTY_shortcuts_for_windows"&gt;previous post&lt;/a&gt;, I am now using the dvorak keyboard with hacked in qwerty shortcuts. But recently, my e-texteditor ctrl-z shortcut key doesn't work anymore and instead keeps inserting an error message in my buffer... how annoying is that? I don't see any circumcetance when it's okay to insert an error message directly into your working document, that is just wrong! But, that's not the point. I found out that the ctrl-z combination is somehow triggering the spellchecker command instead of undo...how could this be? I did a little detective work an AH-HA! It turns out that in the text-bundle, the ctrl-; combination triggers the spellcheck, and ; in dvorak is z in qwerty... removed that key combination and everything was fine...phew...&lt;br&gt;</description>
      <pubDate>Wed, 28 May 2008 13:26:31 -0400</pubDate>
      <guid>http://tobyho.com/e-texteditor%3A_getting_my_ctrl-z_back</guid>
      <author>toby ho</author>
      <link>http://tobyho.com/e-texteditor%3A_getting_my_ctrl-z_back</link>
    </item>
    <item>
      <title>Change File Associations in E-TextEditor</title>
      <description>To add a file extension to have a bundle autoloaded for it. You would go to the file:&lt;br&gt;C:\Program Files\e\Bundles\&lt;i&gt;blah.tmbundle&lt;/i&gt;\Syntaxes\&lt;i&gt;blah.plist&lt;br&gt;&lt;br&gt;&lt;/i&gt;And add an entry under:&lt;br&gt;&lt;font face="courier new,courier"&gt;&amp;lt;dict&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;key&amp;gt;fileTypes&amp;lt;/key&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;array&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;html&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;htm&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;shtml&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;xhtml&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;phtml&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;php&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;inc&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;tmpl&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;tpl&amp;lt;/string&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;string&amp;gt;ctp&amp;lt;/string&amp;gt;&lt;/font&gt;&lt;br&gt;&lt;br&gt;Restart e and you are done.&lt;br&gt;</description>
      <pubDate>Tue, 29 Apr 2008 10:03:08 -0400</pubDate>
      <guid>http://tobyho.com/Change_File_Associations_in_E-TextEditor</guid>
      <author>toby ho</author>
      <link>http://tobyho.com/Change_File_Associations_in_E-TextEditor</link>
    </item>
    <item>
      <title>Regex in e-texteditor</title>
      <description>Today I was faced with the task of converting my existing stylesheet to &lt;a href="http://haml.hamptoncatlin.com/"&gt;sass&lt;/a&gt;. But my stylesheet is so big! I really didn't want to do this by hand. Now, I had heard somewhere, and half suspected you could use search and replace with regex in e-texteditor(the textmate equivalent on windows). Wow! was I blown away and cursed myself for not knowing to use this earlier. So what I ended up doing was a version of this:&lt;br&gt;&lt;ol&gt;&lt;li&gt;replace &lt;font face="courier new,courier"&gt;([^ ]+)\:&lt;/font&gt; with &lt;font face="courier new,courier"&gt;:$1&lt;/font&gt; to change font-size: to :font-size&lt;/li&gt;&lt;li&gt;replace &lt;font face="courier new,courier"&gt;[^ ]*{[^ ]*\n&lt;/font&gt; with &lt;font face="courier new,courier"&gt;\n&lt;/font&gt; to remove all open braces&lt;/li&gt;&lt;li&gt;replace &lt;font face="courier new,courier"&gt;}[^ ]*\n&lt;/font&gt; with &lt;font face="courier new,courier"&gt;\n&lt;/font&gt; to remove all closing braces&lt;/li&gt;&lt;/ol&gt;This feature really made my day.&lt;br&gt;&lt;br&gt;Now sass and haml, I think they are still a bit buggy: they don't handle bad input very well. But I hope that it improves.&lt;br&gt;</description>
      <pubDate>Tue, 15 Jan 2008 21:36:08 -0500</pubDate>
      <guid>http://tobyho.com/Regex_in_e-texteditor</guid>
      <author>toby ho</author>
      <link>http://tobyho.com/Regex_in_e-texteditor</link>
    </item>
  </channel>
</rss>
