May 28, 2008 Seg Fault dispoing old editor | ||||
---|---|---|---|---|
| ||||
if (oldEditor !is null) oldEditor.dispose(); The above line in the example in dwt.custom.TableEditor causes a seg fault in Linux |
June 02, 2008 Re: Seg Fault dispoing old editor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tower Ty | Tower Ty Wrote: > if (oldEditor !is null) oldEditor.dispose(); > > The above line in the example in dwt.custom.TableEditor causes a seg fault in Linux I am not absolutely sure now . I had to retry the code to dispose of the old editor or it would carry forward the text from the previous editor box. On inserting the code it compiled and ran OK. However I have noticed that while editing in these editor boxes tango gives an exception if you backspace to the start of the box ie delete the text in the box back to the start. tango.core.Exception.IllegalArgumentException: Argument cannot be null So it seems what is passed by the ModifyEvent cannot be null. This seems to be a condition in tango but, when editing the table ,you must be able to edit back to the start of the Text |
Copyright © 1999-2021 by the D Language Foundation