MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Editor (https://www.mobileread.com/forums/forumdisplay.php?f=262)
-   -   Q: 'See What Changed' dialog (https://www.mobileread.com/forums/showthread.php?t=286087)

phossler 05-03-2017 07:46 PM

Q: 'See What Changed' dialog
 
1 Attachment(s)
I usually don't use the See What Changed, but I needed to look at some things to be sure after running a group of 5 saved search & replaces, and I had some questions

Q1 - Is there a way to reverse just a selected change? I see how to revert them all. For example, line 16 should not have been replaced, so I want to revert just that one (and on to the next)

Q2 - Is there a way to go directly to the change position in the book, like spell check does, and allow me to manually edit?

I tried right clicking everything I could think of, but nothing happened

Thanks

kovidgoyal 05-04-2017 12:50 AM

No and no :)

Ping me about it after calibre 3 and I will look into implementing it, though no promises since this is fairly involved to get right.

kovidgoyal 05-04-2017 03:49 AM

Oh and I should mention that while you cannot jump to any particular change, you can simply right click anywhere in the right panel and choose "Open in editor" which will take you to that line in the editor.

MerlinMama 05-04-2017 05:45 AM

Um, if you double click on the particular 'after' that you want (eg. line 16 highlight on the right side) it takes you to that place in the editor. It won't bring you right to a word if you're in a long paragraph, but to the line number. Double clicking on the left side doesn't do anything.

I use that all the time.

phossler 05-04-2017 10:12 AM

@Kovid and MerlinMama

The right-click or double click the right side ('after') of the panel works to get to the correct line in the correct file at least, which is better than the way I was doing it

Not as handy as my questions, but still a great improvement over the way I was doing things

Thanks

phossler 06-29-2017 04:03 PM

Quote:

Originally Posted by kovidgoyal (Post 3515978)
No and no :)

Ping me about it after calibre 3 and I will look into implementing it, though no promises since this is fairly involved to get right.

1. I must really not be stressing 3.1.1 since I haven't had any problems, issues, or complaints since migrating. Everything I use and all my settings worked without any problems

2. Any thoughts yet about being able to un-do a single change?

kovidgoyal 06-30-2017 03:12 AM

I looked into it and undoing a single change is more work than I am willing to put in, sorry. Basically, to make it work well one has to both robustly reverse the change at the location in the file and then either re-compute the entire diff or update the diff. The first is very slow for large diffs and the second is fairly involved to get right, because all the line numbers for subsequent changes will have changed.

phossler 06-30-2017 10:05 AM

Quote:

Originally Posted by kovidgoyal (Post 3545915)
I looked into it and undoing a single change is more work than I am willing to put in, sorry. Basically, to make it work well one has to both robustly reverse the change at the location in the file and then either re-compute the entire diff or update the diff. The first is very slow for large diffs and the second is fairly involved to get right, because all the line numbers for subsequent changes will have changed.


OK, thanks for looking into it:thanks:

I agree that the benefits would out weigh a significant development effort and I'm sure that you have much more important things to do.:thumbsup:

I was just hoping it'd be one of those famous 2-3 line changes :rofl:


All times are GMT -4. The time now is 09:23 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.