Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1320 Open Selection doesn't jump to line with async opening

Bug
closed-fixed
Neil Hodgson
SciTE (619)
5
2013-01-17
2012-03-01
Jakub Vrána
No

When I press Ctrl+Shift+O on filename.ext:20 in async-loading mode then the file is opened but SciTE doesn't jump on the target line.

I am not sure what is the best fix. What do you think about adding lineAfterLoad to Buffer and checking it in TextRead()?

Discussion

  • Neil Hodgson
    Neil Hodgson
    2012-03-03

    • assigned_to: nobody --> nyamatongwe
    • status: open --> open-accepted
     
  • Neil Hodgson
    Neil Hodgson
    2012-03-03

    This is similar to opening a session file where the state of files is restored after each asynchronous load completes. Buffers are created before the asynchronous read starts so state can be copied into the buffer. See SciTEBase::AddFileToBuffer.

     
  • Neil Hodgson
    Neil Hodgson
    2012-07-14

    • status: open-accepted --> open-fixed
     
  • Neil Hodgson
    Neil Hodgson
    2012-07-14

    This should be fixed in 3.2.1 by forcing synchronous load for such cases.

     
  • Neil Hodgson
    Neil Hodgson
    2013-01-17

    • status: open-fixed --> closed-fixed