Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/SciTEIO.cxx [ae4cfb] .. [45deb4] Maximize Restore

  Switch to unified view

a/src/SciTEIO.cxx b/src/SciTEIO.cxx
...
...
364
        buffers.FinishedFuture(buffers.Current(), Buffer::fdFinishSave);
364
        buffers.FinishedFuture(buffers.Current(), Buffer::fdFinishSave);
365
    }
365
    }
366
}
366
}
367
367
368
void SciTEBase::CompleteOpen(OpenCompletion oc) {
368
void SciTEBase::CompleteOpen(OpenCompletion oc) {
369
    wEditor.Call(SCI_SETREADONLY, isReadOnly);
369
    wEditor.Call(SCI_SETREADONLY, CurrentBuffer()->isReadOnly);
370
370
371
    if (oc != ocSynchronous) {
371
    if (oc != ocSynchronous) {
372
        ReadProperties();
372
        ReadProperties();
373
    }
373
    }
374
374
...
...
592
        if (of & ofPreserveUndo) {
592
        if (of & ofPreserveUndo) {
593
            wEditor.Call(SCI_ENDUNDOACTION);
593
            wEditor.Call(SCI_ENDUNDOACTION);
594
        } else {
594
        } else {
595
            wEditor.Call(SCI_EMPTYUNDOBUFFER);
595
            wEditor.Call(SCI_EMPTYUNDOBUFFER);
596
        }
596
        }
597
        isReadOnly = props.GetInt("read.only");
597
        CurrentBuffer()->isReadOnly = props.GetInt("read.only");
598
      CurrentBuffer()->isReadOnly = isReadOnly;
599
        wEditor.Call(SCI_SETREADONLY, isReadOnly);
598
        wEditor.Call(SCI_SETREADONLY, CurrentBuffer()->isReadOnly);
600
    }
599
    }
601
    RemoveFileFromStack(filePath);
600
    RemoveFileFromStack(filePath);
602
    DeleteFileStackMenu();
601
    DeleteFileStackMenu();
603
    SetFileStackMenu();
602
    SetFileStackMenu();
604
    SetWindowName();
603
    SetWindowName();