D28287: Undo cursor move

Mickael Bosch <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
mickaelbo added a comment.


  Thanks for the feedback, I managed to reproduce this using "go to definition" and will investigate.
  I only tried to manage long jumps (page end, mouse click, etc.): pressing 77 times the up arrow was not meant to add any item to the undo stack but reading the code, I realized that it actually adds 7 items of 11 lines jumps. This is probably not what we want.
  It is possible to discard small jumps by comparing the new position to the last *view* position instead of the last *undo stack* position. Any suggestion ?

REPOSITORY
  R40 Kate

REVISION DETAIL
  https://phabricator.kde.org/D28287

To: mickaelbo, #kate, #vdg
Cc: ngraham, kwrite-devel, rrosch, domson, michaelh, demsking, cullmann, sars, dhaumann
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.