somewhere to talk about random ideas and projects like everyone else

stuff

June 2008 Archive

Switching Editors 15 June 2008

I’m now trying out Komodo Edit versus what I normally use (Notepad++) because of a weird bug (maybe… it may just be my messed up computer). Well, I just decided that maybe a more professional editor would have nice features over a simple editor. I have to say I’m quite pleased.


Resize Grid, Improved Select, Delete Selection/Clear All 07 June 2008

You can now resize the grid through the same GUI as the line width: A simple slider. Now when you select a shape, the draw-panel adjusts itself accordingly to the colors and other values. When you leave select mode, it automatically unselects the space. Special tools like Delete Selection and Clear All now work.


New loading screen + HTML Strict Doctype 07 June 2008

The application is now HTML (I just added a doctype) and I changed the loading screen almost completely stolen from the Ext Samples page. (HTML Strict sort of broke the other one). I think one day, it’ll be XHTML. but now it’s just HTML Strict. Now it’s more descriptive. Saying “Loading UI…” and “Initializing…” rather than a simple “loading”. Its one of the ways to make it feel to load faster.


Status Fixing the compiler problem 07 June 2008

I’ve located part of the problem. If I remove the reference to VMLRenderer.js, it suddenly starts working again. But how do I include it and get it to work still. I’m investigating.

EDIT 1:

Build 117 fixes the problem completely. it was simply because of mis-arrangement of the files. It was originally.

<script type=”text/javascript” src=”../js/drawing/onlypaths.js”></script>

  <script type=“text/javascript” src=“../js/drawing/wrapper.js”></script> 
  <script type=“text/javascript” src=“../js/drawing/svgrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/vmlrenderer.js”></script>
…


for some reason, this messed up the compilier. I changed it to.

  <script type=”text/javascript” src=”../js/drawing/onlypaths.js”></script>
  <script type=“text/javascript” src=“../js/drawing/svgrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/vmlrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/wrapper.js”></script>


and now it works fine :)