### Medium
- [X] lib-mergeview improvements
-- [ ] lib-diff slowness with large diff
+- [X] lib-diff slowness with large diff
- [ ] linecount :when used in 'view' mode, stack the counting pane with all the
others so it can easily catch view-changed.
- [X] C config module that reads an ini-style file to set attributes
### lib-diff
-- [ ] When viewing diff or merge can get into infinite loop. Possibly due
+- [X] When viewing diff or merge can get into infinite loop. Possibly due
to edit at end-of-file
-- [ ] slowness with large diff - particularly lots of "+" lines at end
+- [X] slowness with large diff - particularly lots of "+" lines at end
- [ ] highlight white-space errors.
- [ ] command to apply a hunk to a given document - or to reverse it.
How much of a hunk? Selection? How to record which hunks are done?
break
ch = focus.following(mark)
+ # delete any old marks in this range.
+ m = focus.vmark_at_or_before(self.viewnum, mark, self)
+ while m and m >= starta:
+ m.release()
+ m = focus.vmark_at_or_before(self.viewnum, mark, self)
+
alen = measure(focus, starta, startb)
blen = measure(focus, startb, mark)
if alen == 0 or blen == 0 or not is_hunk:
- msg = "Nothing to compare here!"
- ret = 4
+ msg = "Nothing to compare here!"
+ ret = 4
else:
cmd = focus.call("MakeWiggle", ret='comm')
if not cmd: