Menu

#273 On saving file (ctrl-s) the cursor jumps to another position

2.x
closed-fixed
Interface (114)
7
2014-01-07
2012-01-03
No

After a file has been changed and after pressing Ctrl-S for saving it the cursor within the text editor will jump to another position.

It happens every time.

It is somehow related to the current position:
ex1.: if I'm editing the line 78 after ctrl-s it goes to the line 78
ex2.: from line 66 to line 38

Discussion

  • Neven Boyanov

    Neven Boyanov - 2012-01-03

    That bug appears on 2.6.0.353

     
  • Pierre Fauconnier

    • assigned_to: ursmaeder --> pf18387
    • priority: 5 --> 7
    • status: open --> open-accepted
     
  • Neven Boyanov

    Neven Boyanov - 2012-01-03

    In addition, if I click anywhere in the text of that file, right after being saved, it will change the status of the file to "modified" - red icon on the tab and it will ask to save it if I attempt to close it.

    PS: I'm not sure if that's related to the same issue or should be another bug report.

     
  • Pierre Fauconnier

    • status: open-accepted --> open-fixed
     
  • Pierre Fauconnier

    Hi Neven,

    Sorry about that. Big mistake with code-review. I had commented one instruction used to compute the length of a line. As a result, the position of the cursor became wrong. Fixed rev. >= 354

    Thanks for your report.

    Pierre.

     
  • Pierre Fauconnier

    • status: open-fixed --> open-accepted
     
  • Pierre Fauconnier

    About the red icon. It is another bug - so I've reopened this ticket.
    I think the bug is due to a shifting in undo/redo lists.

     
  • Pierre Fauconnier

    Hello Neven,

    Status "modified" unduly displayed, is now fixed. Also, the bar of changes should work fine.

    Thanks again for your report.

    Pierre.

     
  • Pierre Fauconnier

    • status: open-accepted --> open-fixed
     
  • Neven Boyanov

    Neven Boyanov - 2012-01-04

    Thanks Pierre, for fixing it so quickly.
    I downloaded and installed the newer version and everything seems to work fine.
    Neven.

     
  • Pierre Fauconnier

    You're welcome, Neven ; and sorry for these bugs.
    Pierre.

     
  • Pierre Fauconnier

    • status: open-fixed --> pending-fixed
     
  • Pierre Fauconnier

    • status: pending-fixed --> closed-fixed
    • Group: --> 2.x
     

Log in to post a comment.