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

Close

#1585 FastOpen jump to line number only works on loaded buffers

closed-fixed
Jiger
None
5
2012-07-10
2012-04-12
Dale Anson
No

FastOpen 2.4

When using FastOpen, entering filename:linenumber used to open the file and jump to the line number. Now the cursor is always placed on the first line.

Discussion

  • Alan Ezust
    Alan Ezust
    2012-04-14

    It appears to jump to the line number of the file if the a buffer has already loaded the file!

    If however, fastopen must open the buffer first, it seems that the jump-to-line happens before the buffer is actually finished loading, so it fails.

    I can observe the same behavior in both FastOpen 2.3 and FastOpen 2.5.
    I do not believe there is any regression or change in behavior for FastOpen 2.4

     
  • Alan Ezust
    Alan Ezust
    2012-04-14

    • summary: FastOpen no longer jumps to line number --> FastOpen jump to line number only works on loaded buffers
     
  • Alan Ezust
    Alan Ezust
    2012-06-12

    • assigned_to: nobody --> jigerjava
     
  • Alan Ezust
    Alan Ezust
    2012-06-20

    Still reproducible with rev# 21844.

    Steps to reproduce:

    Open Fastopen sourcecode project with projectviewer.
    In a separate untitled buffer, type "FastOpen.java:57"
    invoke fastopen with cursor on that text.
    FastOpen.java opens, at the position it was last opened in.
    go back to untitled buffer. invoke fastopen again on same File:line
    now position is moved to desired line 57.
    Close FastOpen.java
    go back to untitled buffer
    invoke fastopen on "FastOpen.java:157" (s/57/157)
    buffer opens, and you are on line 57 and not 157 (as expected)

     
  • Alan Ezust
    Alan Ezust
    2012-06-20

    i have "save caret positions in recent files list" enabled.

     
  • Jiger
    Jiger
    2012-06-22

    • status: open --> open-fixed
     
  • Jiger
    Jiger
    2012-06-22

    Both the given issues have now been fixed and will be released soon in FO 2.5!!

     
  • Jiger
    Jiger
    2012-07-10

    Now fixed & released in FO 2.5.

     
  • Jiger
    Jiger
    2012-07-10

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