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

Interface (114)
Neven Boyanov

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


  • Neven Boyanov
    Neven Boyanov

    That bug appears on

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

    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.

    • status: open-accepted --> open-fixed
  • 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.


    • status: open-fixed --> open-accepted
  • 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.

  • Hello Neven,

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

    Thanks again for your report.


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

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

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

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