CaScadeS II by night
By glazou on Friday 26 August 2005, 03:23 - Nvu - Permalink
- It's 3am and I am sitting in front of my laptop because I just found in my sleep how to implement cancellable changes in CaScadeS II. I need to write it down before I forget it. Basically, what I have in mind will allow to see immediately all changes made to a stylesheet, but will commit the changes to the sheet instance only if the user clicks on an Apply button. A Cancel button will revert all styles to the original ones. An onblur event listener will also trigger an alert to apply or cancel the changes, so you don't end up editing a document showing styles that are not physically in the embedded or linked stylesheets. Yay!
- The docked window (see this new screenshot) now has a magnet at the bottom of its left edge. It's a checkbox. When it's on, and if the bottom edges of both the docked window and the docking window are closer than a kMaxAttractor constant, the two bottom edges become aligned and remain aligned if the docked window is moved or resized. The magnet is on by default.
- Hmmm, I love the About dialog


Comments
Thanks for reminding us of the extraordinary power of the unconscious. And thanks again for the tool. (Argh, le bilinguisme de ce blog m'a contaminée).
Isn't it great when that happens? I frequently walk away from a job that's frustrating me and let my mind work out the problem in its own time - it means less stress for me, and also means that when I sit down to do the job, it will take less time, as the whole idea will be crystal clear.
In fact, a very good way to do this is to walk into work. That simple! My office is four miles from my house, so it takes about an hour to walk to work each day. During that time, I tend to daydream about things. It is much easier to focus clearly on aspects of problems while daydreaming about them, as your mind will not be bothered by phones ringing, people asking questions, etc.
Kae: sometimes, you cannot get your mind out of what you're doing. I've been shooting a movie for a few days in which we have 3D scenes (designed with Blender). A few nights ago, I was having a very vivid erotic dream, and the action suddenly froze so that the participants could reposition themselves according to the 3D curves describing their moves... I was not very happy with that.
Hm, j'aime les aimants! (Comme Minuit dit, the multi-lingualism of this blog is contagious.)
Is the magnet an original idea of yours?
Paul Be: yes. I never saw it elsewhere under that form.
If I understand everything OK, you seem to have the same kind of problem as Alex Vincent :
weblogs.mozillazine.org/w...