[Gambas-user] edits not saving
bsteers4 at gmail.com
Sun Aug 21 18:39:03 CEST 2022
On Sun, 21 Aug 2022 at 11:55, Bruce Steers <bsteers4 at gmail.com> wrote:
> On Sat, 20 Aug 2022 at 15:43, Benoit Minisini <
> benoit.minisini at gambas-basic.org> wrote:
>> Le 20/08/2022 à 11:25, Bruce Steers a écrit :
>> > On Sat, 20 Aug 2022 at 10:08, Bruce Steers <bsteers4 at gmail.com
>> > <mailto:bsteers4 at gmail.com>> wrote:
>> > Anyone else getting little edits of a file are not saving?
>> > Ie, maybe removing a line or commenting out a line. the file does
>> > not get its "changed" flag set so it does not save.
>> > So I've been pressing returns then delete to make a modification
>> > that does make it seen as changed, then it saves as expected.
>> > PS. this only seems to happen when a project first loads.
>> > Ie...
>> > Load up project, comment out a line with a '
>> > The Title in the tab does not get an asterisk * and file will not save
>> > changes.
>> > Press delete to delete the comment char and the asterisk appears.
>> > Save file now works...
>> > Then comment out the line again and the asterisk DOES appear and all is
>> > working as expected from now on.
>> > Respects
>> > BruceS
>> It should be fixed by the last commit (some code I forgot to commit).
> Does the change event get raised on load even if the object is locked
> because suddenly my text editor is telling me i've changes text when i
If i change line 1584 of CDocument.class in gb.form.editor to....
If Not Object.IsLocked(hView) Then hView._RaiseChange
Then my editor works okay again.
I tried to make my editor not get the change event on load but could not.
changing the CDocument.class worked though.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User