Thread: [Boa Constr] Some issue with foldering
Status: Beta
Brought to you by:
riaan
From: Michele P. <mic...@un...> - 2005-06-17 11:13:26
|
I see that there are this little issue with foldering: normally when I write code, I "compress" the _init_ctrls function (and a lot of other) into a Frame or a panel because this code are automatically created by Boa, so I don't want to modify it. If I (with that code "compressed") open the "Frame Designer", make some work, and close, I see that that function are expanded (and this isn't a problem), but the scrollbar at the right has a wrong size. For make it right, I must compress a random code (with the "-") and the scrollbar are recalculated. I thinks that Boa count the lines that it/I see into the code editor (so a compress function, for example, that have 200 lines are counted as 1), not the really code length. always with some code "compressed", I go to "explorer" or "events" tab, I select a random item into the function lists, like OnFrame1Close for example, Boa go to the "code" tab, set my keyboard cursor (I think that this the right name of the blink line) to the right position**, but the line where Boa show me is always the last. ** I say "the right position" because if I press any key (example the keys for move the cursor up), Boa got to the right position into the code editor, so, in this example, to OnFrame1Close function. I hope that you understand me :), Thanks, Michele |
From: Riaan B. <riaan@e.co.za> - 2005-06-24 12:38:51
|
Hi Michele, I see what you mean about the problems with code folding. The problem is maybe a bug in the StyledTextCtrl, it happens when the backgound style is set to the light blue colour (to indicate read-only). I've commented out the call to do the colouring for now. Fixed in CVS. Thanks, Riaan. Michele Petrazzo wrote: > I see that there are this little issue with foldering: > > normally when I write code, I "compress" the _init_ctrls function (and a > lot of other) into a Frame or a panel because this code are > automatically created by Boa, so I don't want to modify it. > If I (with that code "compressed") open the "Frame Designer", make some > work, and close, I see that that function are expanded (and this isn't a > problem), but the scrollbar at the right has a wrong size. For make it > right, I must compress a random code (with the "-") and the scrollbar > are recalculated. > I thinks that Boa count the lines that it/I see into the code editor (so > a compress function, for example, that have 200 lines are counted as 1), > not the really code length. > > always with some code "compressed", I go to "explorer" or "events" tab, > I select a random item into the function lists, like OnFrame1Close for > example, Boa go to the "code" tab, set my keyboard cursor (I think that > this the right name of the blink line) to the right position**, but the > line where Boa show me is always the last. > > ** I say "the right position" because if I press any key (example the > keys for move the cursor up), Boa got to the right position into the > code editor, so, in this example, to OnFrame1Close function. > > I hope that you understand me :), > > Thanks, > Michele > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > |