[Gambas-devel] edtSplit
Robert Rowe
robert.c.rowe at ...176...
Sun Mar 16 15:57:11 CET 2008
I haven't heard of the crystal icons. I'll try to research them. I
couldn't find any icons that I really liked for these two functions. I'm
not really much of an artist. :(
Good idea with the dynamic creation. I originally tried to have only two
editor objects and change their parent. I found that I couldn't change
the container at runtime so I had to have five editor objects. You're
right that creating them just in time would be better.
I was planning to use an enum for the view type but I didn't find
support for enums.
I'll do an update after you've tweaked my changes and backport them to 2.0
I'm glad you like my changes.
Robert
Benoit Minisini wrote:
> On vendredi 14 mars 2008, Robert Rowe wrote:
>
>> This was exactly what I had in mind. It seems that we both thought of
>> konqueror. :)
>>
>> My help integration project is going slower than I thought so I might
>> put it on hold and do the split editor this weekend. Richard really
>> wants it. I don't really find myself using it much in VB but it's handy
>> sometimes.
>>
>> Robert
>>
>>
>
> I tried your develooment, and I have a few remarks:
>
> - I think crystal standard icons for the "find definition" and "go backward"
> buttons would be better. If they do not exist in the gambas stock icon list,
> I can add them.
>
> - You should not create the Splitter and the splitted editors systematically.
> You should create them dynamically in code the first time the user click on
> the split buttons. This will use less memory :-)
>
> - You should define constants for the view mode instead of using 0, 1, 2.
>
> Otherwise, that works, it's cool. Maybe you could backport that to the 2.0
> too!
>
> Regards,
>
>
More information about the Devel
mailing list