On Jun 17, 2008, at 5:27 PM, Nate Lowrie wrote:
> I am just hoping for the day when I am not finding them anymore.
The Class Designer is a very complex application, and I'm the only
one working on it. Up until now it only improves when I create an app
that uses it; now that you're using it, it's good that you're finding
these things.
> If I am in the Class Designer and change the method name in the
> editor, the
> method name is not changed in the selection even after I save it.
> Even if I close it and reopen it the name hasn't changed. below is
> the sample HTML for the part in question:
>
> <_getSearchFields><![CDATA[
> def _getSearchFieldChoices(self):
> return self.SearchFieldEntry.Choices
> ]]>
I debated (with myself) whether to make the editor a single page for
all methods, or set it up to edit one method at a time. I chose the
latter because that would enable entering the method signature
automatically.
Currently the code doesn't check if you modify the method name inside
the editor, mainly because it never occurred to me that someone would
do that!
> I have not figured out how to rename or delete methods. Can I do this
> without delving into the code and doing it by hand? The delete method
> is very important. I thought that if I just deleted what I had in the
If you cut all the code for a method, and then switch to another
method, that method is deleted. IOW, empty methods are not kept. You
can then create a new method with your new name, and paste in the old
code (deleting the old def line, of course).
> I just have one more thing that I wanted to mention. In using the
> ClassDesigner these past couple of weeks, I have become somewhat
> annoyed by all of the possible event and object methods being
> displayed in the editor dropdown. It makes it hard to know which ones
> are defined and saved and which ones are blank.
Non-empty methods have an asterisk by their name. They are also
sorted to the top automatically.
> I guess I would like to see only defined methods appear in that list
> and have the option
> for all the standard methods in a dropdown list in the new method
> dialog. Thoughts.
I guess I have a different concept of "defined". Example:
'afterInit()' is defined for all classes, but by default is empty.
This seems like a very minor point, and not one worth spending time on.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]