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

Bug
closed-fixed
SciTE (627)
5
2013-01-17
2012-03-01
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
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks